Skip to content

fix(js): exclude functions returning IO from module exports - #2374

Open
toprameen wants to merge 2 commits into
bendlang:mainfrom
toprameen:filter-js-module-io-exports
Open

toprameen wants to merge 2 commits into
bendlang:mainfrom
toprameen:filter-js-module-io-exports

Conversation

@toprameen

Copy link
Copy Markdown
Contributor

JavaScript module emission now checks the return type of each export candidate for Base IO. The bundle regression verifies that a page can call pick() from a module whose log(text) helper uses a C-only effect.

@toprameen
toprameen marked this pull request as ready for review December 3, 2026 19:02
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.

1 participant