mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-20 18:26:40 +00:00
Support parsing of class expressions, see #161
This commit is contained in:
5
tests/parser/class-expression.ts
Normal file
5
tests/parser/class-expression.ts
Normal file
@ -0,0 +1,5 @@
|
||||
var a = class {
|
||||
foo(): void {}
|
||||
bar: i32;
|
||||
};
|
||||
var b = class Foo {};
|
Reference in New Issue
Block a user