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

NumberBitwiseOp is imprecise with the operation it performs #2002

Closed
michaelficarra opened this issue May 20, 2020 · 0 comments · Fixed by #2004
Closed

NumberBitwiseOp is imprecise with the operation it performs #2002

michaelficarra opened this issue May 20, 2020 · 0 comments · Fixed by #2004

Comments

@michaelficarra
Copy link
Member

michaelficarra commented May 20, 2020

NumberBitwiseOp is passed op, a sequence of code points, one of &, ^, or |. It then says

Return the result of applying the bitwise operator op to lnum and rnum.

Nowhere does it associate those sequences of code points with bitwise operations. We should be explicit about this similar to what we do in 12.15.5.

This all also applies to ByteListBitwiseOp.

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.

2 participants