Fix a let body not closing properly during parsing
This commit is contained in:
parent
2d880f0f0d
commit
3381a2bd5d
1 changed files with 1 additions and 0 deletions
|
@ -491,6 +491,7 @@ export class Parser {
|
||||||
for (;;) {
|
for (;;) {
|
||||||
const t4 = this.peekToken();
|
const t4 = this.peekToken();
|
||||||
if (t4.kind === SyntaxKind.BlockEnd) {
|
if (t4.kind === SyntaxKind.BlockEnd) {
|
||||||
|
this.getToken();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
elements.push(this.parseLetBodyElement());
|
elements.push(this.parseLetBodyElement());
|
||||||
|
|
Loading…
Reference in a new issue