1
0
mirror of https://github.com/fluencelabs/assemblyscript synced 2025-05-02 18:32:15 +00:00
assemblyscript/tests/parser/function.ts.fixture.ts
dcodeIO 63d4579118 Fix some array function parsing and serialization issues
Quite similar to  and also uses its test, but also fixes the serializer and doesn't try to parse an untyped 'x => x'.
2018-10-04 09:53:47 +02:00

11 lines
263 B
TypeScript

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