Skip to content

BridgeJS: Correctly emit @JS methods in extensions#694

Open
wfltaylor wants to merge 1 commit intoswiftwasm:mainfrom
wfltaylor:extensions
Open

BridgeJS: Correctly emit @JS methods in extensions#694
wfltaylor wants to merge 1 commit intoswiftwasm:mainfrom
wfltaylor:extensions

Conversation

@wfltaylor
Copy link

Currently, code generation for @js extension methods is broken: the @_cdecl wrapper misses the self parameter.

Copy link
Member

@kateinoigakukun kateinoigakukun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Can you add more test cases to cover class, struct and enum in snapshot tests and runtimr tests?

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