let statements _within_ match patterns now need parens. adding sections to palette options. etc.
This commit is contained in:
parent
68f4fbe9b3
commit
6ab98c1448
5 changed files with 53 additions and 37 deletions
|
|
@ -366,7 +366,7 @@ export class Parser {
|
|||
this.expect('equals');
|
||||
const value = this.parseExpression();
|
||||
this.expect('semicolon');
|
||||
const body = this.parseExpressionNoMatch();
|
||||
const body = this.parseExpression();
|
||||
|
||||
return { kind: 'let', name, value, body, ...this.getPos(nameToken) };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue