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

Implement shift with broad RHS types #142

Merged
merged 4 commits into from Apr 4, 2020
Merged

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Apr 4, 2020

The primitive integers all support shift operators with the right-hand side as any other primitive integer, by value or by reference. Now BigInt and BigUint support this too. This is a minor breaking change, because it can cause type inference failures if a user has an ambiguous integer for a shift count, whereas before it could only be usize.

@cuviper
Copy link
Member Author

cuviper commented Apr 4, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 4, 2020

Build succeeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant