Fix parsing of BoltFunctionDeclaration in parser.ts
This commit is contained in:
parent
68942f4488
commit
1659cfa7ec
1 changed files with 1 additions and 1 deletions
|
@ -1212,7 +1212,7 @@ export class Parser {
|
||||||
tokens.get();
|
tokens.get();
|
||||||
switch (target) {
|
switch (target) {
|
||||||
case "Bolt":
|
case "Bolt":
|
||||||
body = this.parseFunctionBodyElement(createTokenStream(t3));
|
body = this.parseFunctionBodyElements(createTokenStream(t3));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
body = parseForeignLanguage(target, t3.text, t3.span!.file, t3.span!.start);
|
body = parseForeignLanguage(target, t3.text, t3.span!.file, t3.span!.start);
|
||||||
|
|
Loading…
Reference in a new issue