Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export syntax error fix for exported enums and namespaces #1203

Merged
merged 1 commit into from
Sep 3, 2022
Merged

export syntax error fix for exported enums and namespaces #1203

merged 1 commit into from
Sep 3, 2022

Conversation

dylan-conway
Copy link
Member

Removed setting is_export for variables used inside generated closures for enums and namespaces. Can be seen in esbuild as well: https://github.com/evanw/esbuild/blob/77194c8fd8026e8e9f09f4480d1be42aaa6fc09c/internal/js_parser/ts_parser.go#L1627

Fixes #1136

@github-actions github-actions bot added packages:bun needs tests Something that needs more testing labels Sep 3, 2022
@Jarred-Sumner Jarred-Sumner merged commit 8b2d07e into oven-sh:main Sep 3, 2022
@Jarred-Sumner
Copy link
Collaborator

This is great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs tests Something that needs more testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unexpected keyword "export" when exporting enum from namespace
2 participants