BridgeJS: Fix Dictionary bridging after Stack ABI refactor by krodak · Pull Request #594 · swiftwasm/JavaScriptKit
Overview
PR #590 changed the stack storage from direction-specific variables to direction-agnostic ones, but the Dictionary support code from PR #581 was not updated accordingly, causing compilation failures.
Issue
After merging PR #590, the build fails with:
error: type 'JSGlueVariableScope' has no member 'reservedTmpRetInts'
error: type 'JSGlueVariableScope' has no member 'reservedTmpParamInts'
The Dictionary bridging code still referenced removed properties:
reservedTmpRetIntsreservedTmpParamInts
Fix
- Updated 5 locations in
JSGlueGen.swiftto use the new direction-agnostic stack API - Updated
DictionaryTypes.jssnapshot to reflect the corrected code generation