mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-22 19:21:47 +00:00
Rename memory instructions; Rework constant handling
This commit is contained in:
@ -17,14 +17,14 @@ export namespace math {
|
||||
}
|
||||
|
||||
// top-level enum
|
||||
export enum Animal {
|
||||
export const enum Animal {
|
||||
CAT,
|
||||
DOG
|
||||
}
|
||||
|
||||
// namespaced enum
|
||||
export namespace animals {
|
||||
export enum Animal {
|
||||
export const enum Animal {
|
||||
CAT,
|
||||
DOG
|
||||
}
|
||||
|
Reference in New Issue
Block a user