Fix some array function parsing and serialization issues

Quite similar to #256 and also uses its test, but also fixes the serializer and doesn't try to parse an untyped 'x => x'.
This commit is contained in:
dcodeIO
2018-10-04 09:53:47 +02:00
parent 59e2a63b83
commit 63d4579118
12 changed files with 68 additions and 26 deletions

View File

@ -1,5 +1,5 @@
function simple(): void {}
function typeparams<T, V extends T>(a: V | null = null): void {}
function typeparams<T, V extends T>(a?: V | null = null): void {}
@decorator()
function withdecorator(): void {}
function withthis(this: i32): i32 {