Skip to content

BridgeJS: Fix Dictionary bridging after Stack ABI refactor#594

Merged
kateinoigakukun merged 1 commit intoswiftwasm:mainfrom
PassiveLogic:krodak/stack-abi-refactor-fix
Feb 5, 2026
Merged

BridgeJS: Fix Dictionary bridging after Stack ABI refactor#594
kateinoigakukun merged 1 commit intoswiftwasm:mainfrom
PassiveLogic:krodak/stack-abi-refactor-fix

Conversation

@krodak
Copy link
Member

@krodak krodak commented Feb 5, 2026

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:

  • reservedTmpRetInts
  • reservedTmpParamInts

Fix

  • Updated 5 locations in JSGlueGen.swift to use the new direction-agnostic stack API
  • Updated DictionaryTypes.js snapshot to reflect the corrected code generation

@krodak krodak self-assigned this Feb 5, 2026
@kateinoigakukun kateinoigakukun merged commit 444393f into swiftwasm:main Feb 5, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants