mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-06 10:01:59 +00:00
Merge branch 'master' into runtime
This commit is contained in:
@ -2355,6 +2355,9 @@ export class EnumValue extends VariableLikeElement {
|
||||
this.setType(Type.i32);
|
||||
}
|
||||
|
||||
/** Whether this enum value is immutable. */
|
||||
isImmutable: bool = false;
|
||||
|
||||
/** Gets the associated value node. */
|
||||
get valueNode(): Expression | null {
|
||||
return (<EnumValueDeclaration>this.declaration).value;
|
||||
|
Reference in New Issue
Block a user