New features
- Added an experimental GC finalization hook to perform custom cleanup on free
- Implemented
radix
argument onNumber#toString
- Allow disabling arbitrary globals with
--use TheGlobal=
- Emit a warning when exporting a generic element with no concrete instances
- Implemented portable variants of
TypedArray.wrap
- Use node-like resolution instead of relative paths in
asinit
-generated tsconfigs, if possible - Updated Binaryen to latest incl. support for
f32x4/f64x2.ceil/floor/trunc/nearest
Relevant fixes
- Fixed
Array#flat
definitions - Improved error messages on unusual usages of
void
,null
andundefined
types - Fixed a resolver issue when calling function expressions
- Disabled aggressive ARC optimizations due to a pending issue
- Fixed a compiler issue when referencing variables in their own initializer
- Fixed an assertion on accesses to variables that failed to compile earlier
- Fixed Wasm module exports reference in
asinit
-generated index file