mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-14 07:21:30 +00:00
Initial instance methods and field layout; More cleanup
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
@global()
|
||||
@global
|
||||
export class Error {
|
||||
|
||||
name: string = "Error";
|
||||
@ -10,7 +10,7 @@ export class Error {
|
||||
}
|
||||
}
|
||||
|
||||
@global()
|
||||
@global
|
||||
export class RangeError extends Error {
|
||||
name: string = "RangeError";
|
||||
}
|
||||
|
Reference in New Issue
Block a user