-
Notifications
You must be signed in to change notification settings - Fork 108
Fix let (requires prelude to be merged first) (BREAKING CHANGE) #321
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
Conversation
List and stream functions that can be implemented in Source now are put in the prelude, and are no longer native JS functions.
Pull Request Test Coverage Report for Build 1525
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works now. Took a glance at the implementation. Makes sense. I trust it all works.
Note that this includes breaking changes: const f = () => x; is now now longer a valid program, since |
Will take note of this for the staff briefing next week. |
Problem
Program:
roughly becomes:
In the same context, if you do:
it gets roughly transformed into
Problem the
a
referenced in f is still unchanged!Fix
Program:
roughly becomes:
In the same context, if you do:
it gets roughly transformed into
so that the actual
a
referenced byf
does indeed get updated correctly.🎉