Skip to content

Conversation

krodak
Copy link
Contributor

@krodak krodak commented Sep 1, 2025

Introduction

Moving most of the code related to generate helper functions for custom lower / raise of associated values in enums to dedicated IntrinsicJSFragment and moving to CodeFragmentPrinter instead of "manual" code generation management.
Similar update done for simple, raw type enums and namespaces.

Notes

I've also started migrating some code from BridgeJSLink to use fragment printer, but I'll post another PR for clarity, as it's not related to enums and I'd rather keep PRs smaller when possible (which is harder to do when adding new functionality with tests)

@krodak krodak self-assigned this Sep 1, 2025
@krodak krodak changed the title Feat/migrate to intrinsicjsfragment BridgeJS: Migrate to IntrinsicJSFragment for enums Sep 1, 2025
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.

Thanks! Feel free to merge once CI passed

@krodak krodak merged commit eee230f into swiftwasm:main Sep 1, 2025
9 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