-
Notifications
You must be signed in to change notification settings - Fork 110
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
feat: &&=
, ||=
, >>=
, <<=
operators
#853
Conversation
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.
There is a bunch of result = result && ...
expressions in semantics.tact
-- would be nice to also dog-food here and refactor that code to use &&=
.
Let's add a few negative tests, like n &&= true
, where n
is not a boolean, e.g. Int
.
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.
Almost there, let's just fix some unintuitive error messages
Co-authored-by: Anton Trunov <[email protected]>
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.
Just one small step
Issue
Closes #811.
Checklist