mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-20 18:26:40 +00:00
Conway's Game of life compiler test incl. html
This commit is contained in:
@ -379,7 +379,7 @@ export class Parser extends DiagnosticEmitter {
|
||||
if (tn.skip(Token.EQUALS)) {
|
||||
if (isDeclare)
|
||||
this.error(DiagnosticCode.Initializers_are_not_allowed_in_ambient_contexts, tn.range()); // recoverable
|
||||
initializer = this.parseExpression(tn);
|
||||
initializer = this.parseExpression(tn, Precedence.COMMA + 1);
|
||||
if (!initializer)
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user