github PerryTS/perry v0.4.45

latest releases: v0.5.1220, v0.5.1219, v0.5.1206...
3 months ago

Bug Fixes

  • WASM multi-module FuncRef resolution: FuncRef(id) is only unique within a module — per-module func_map snapshots prevent cross-module FuncId collisions that caused wrong function dispatch
  • WASM void function tracking: Functions returning void now push TAG_UNDEFINED after call for stack consistency
  • WASM optional parameter padding: Missing arguments padded with TAG_UNDEFINED for functions with optional params

Previous (v0.4.44)

  • obj[numericKey] on Record<number, T> — numeric keys converted to strings for property lookup
  • !('key' in obj) always returned false — in operator NaN-boxed boolean handling
  • trimStart()/trimEnd() dispatched to correct runtime functions
  • Cross-module default array parameter = [] SIGSEGV fix
  • IndexSet union-index NaN-boxing for closures on objects
  • .filter(Boolean) desugaring in all 4 HIR lowering paths
  • Null pointer guards in closure capture getters and Promise.all handlers
  • Cross-module await on Promise<[T, T]> tuple indexing

Don't miss a new perry release

NewReleases is sending notifications on new releases.