let statements _within_ match patterns now need parens. adding sections to palette options. etc.

This commit is contained in:
Dustin Swan 2026-02-13 12:15:56 -07:00
parent 68f4fbe9b3
commit 6ab98c1448
No known key found for this signature in database
GPG key ID: 30D46587E2100467
5 changed files with 53 additions and 37 deletions

View file

@ -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) };
}