Fix error when parsing empty tuple
This commit is contained in:
parent
368d2243f1
commit
2dae494fc2
1 changed files with 1 additions and 0 deletions
|
@ -191,6 +191,7 @@ export class Parser {
|
|||
for (;;) {
|
||||
const t2 = this.peekToken();
|
||||
if (t2.kind === SyntaxKind.RParen) {
|
||||
this.getToken();
|
||||
rparen = t2;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue