Merge branch 'master' into runtime

This commit is contained in:
dcode
2019-03-27 16:10:59 +01:00
69 changed files with 15243 additions and 10507 deletions

View File

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