mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 15:12:12 +00:00
* Add a NATIVE<T> macro type to simplify use of a native WebAssembly type * Add default type parameters for internal helpers for explicit loads and stores * Unify loadUnsafe/loadUnsafeWithOffset etc. into one * Renamed loadUnsafe etc. into just LOAD, like a macro * Implement parsing of index signatures, but ignore them, for properly linting code * Refactor TypedArray<T> to use macros
4 lines
131 B
TypeScript
4 lines
131 B
TypeScript
function a<T=i32>(): T { return 0; }
|
|
function a<T,U=i32>(): T { return 0; }
|
|
function a<T,U=i32,V>(): T { return 0; } // ERROR 2706
|