-
Notifications
You must be signed in to change notification settings - Fork 140
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
Remove shift type constraint #3607
Labels
Comments
|
oh you're right @bluesign, I didn't know |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue to be solved
When using shift operations, the shift value currently has to match the result type.
Although there is no harm in the current way, this is a constraint that the parser could remove since the values of shift are much smaller than the result of the operation.
Suggested Solution
For a backward compatible change, we can remove the condition for the shift value to be of the same type of the result. The shift value can be a positive integer of any size.
The text was updated successfully, but these errors were encountered: