mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-12 22:41:27 +00:00
Implement 'this' context parsing and serialization; Other minor improvements
This commit is contained in:
@ -2,3 +2,5 @@ function simple(): void {}
|
||||
function typeparams<T, V extends T>(a: V | null = null): void {}
|
||||
@decorator()
|
||||
function withdecorator(): void {}
|
||||
function withthis(this: i32): i32 { return this; }
|
||||
function withthisp(this: i32, a: f32, b: f64): i32 { return this; }
|
||||
|
@ -2,3 +2,9 @@ function simple(): void {}
|
||||
function typeparams<T, V extends T>(a: V | null = null): void {}
|
||||
@decorator()
|
||||
function withdecorator(): void {}
|
||||
function withthis(this: i32): i32 {
|
||||
return this;
|
||||
}
|
||||
function withthisp(this: i32, a: f32, b: f64): i32 {
|
||||
return this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user