8000 format: Don't add `export` to top-level metakey assignments · Issue #459 · koto-lang/koto · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

format: Don't add export to top-level metakey assignments #459

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

Closed
irh opened this issue May 12, 2025 · 0 comments
Closed

format: Don't add export to top-level metakey assignments #459

irh opened this issue May 12, 2025 · 0 comments

Comments

@irh
Copy link
Contributor
irh commented May 12, 2025

@main = || ... shouldn't be formatted as export @main = ||....

irh added a commit that referenced this issue May 20, 2025
The compiler always exports meta-key assignments, so it's not necessary
to wrap the assignment in an export node.

Fixes #459
@irh irh closed this as completed in e71df97 May 20, 2025
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

No branches or pull requests

1 participant
0