-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
0xFF000000_0000000000000
should error with value out of range; instead treated as 0
#14529
Comments
IIRC there were proposals to make this Maybe now we should re-propose this as an RFC? |
do you have a link? |
I can't find it, though @Araq has said on record many times that hex as int is intentional, so maybe he can expand on the topic. |
|
Duplicate of #4350 |
0xFF000000_0000000000000
should error with value out of range; instead treated as 0Example
Current Output
Expected Output
this should give error: value out of range
Additional Information
found that while working on #14522
177c7f9 1.3.5
the fact that
0xFF000000_0000000
is treated as signed instead of unsigned is a separate issue, to be discussed sepatelyThe text was updated successfully, but these errors were encountered: