mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-16 08:21:44 +00:00
Binary expression operator overloads for +/==; Check allocation flow in ternary expressions; Cache empty array buffers; Sealed decorator for non-derivable internals
This commit is contained in:
@ -171,6 +171,10 @@ export class Parser extends DiagnosticEmitter {
|
||||
flags |= CommonFlags.UNMANAGED;
|
||||
continue;
|
||||
}
|
||||
if (text == "sealed") {
|
||||
flags |= CommonFlags.SEALED;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (!decorators) decorators = [];
|
||||
decorators.push(decorator);
|
||||
|
Reference in New Issue
Block a user