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

Report diagnostic on overwrite of let-binding in same block #67

Closed
junlarsen opened this issue Feb 9, 2025 · 0 comments · Fixed by #75
Closed

Report diagnostic on overwrite of let-binding in same block #67

junlarsen opened this issue Feb 9, 2025 · 0 comments · Fixed by #75

Comments

@junlarsen
Copy link
Owner

This should report an error. In the future we might want to allow it, but the current compiler codegen won't.

let k = 1;
let k = 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant