Fix error when parsing empty tuple

This commit is contained in:
Sam Vervaeck 2022-09-16 12:54:13 +02:00
parent 368d2243f1
commit 2dae494fc2

View file

@ -191,6 +191,7 @@ export class Parser {
for (;;) {
const t2 = this.peekToken();
if (t2.kind === SyntaxKind.RParen) {
this.getToken();
rparen = t2;
break;
}