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

[SE-0244] Switch literal assignment to explicit Int #1042

Merged
merged 1 commit into from May 17, 2019

Conversation

airspeedswift
Copy link
Member

Since BinaryInteger is literal-expressible, this example compiles because it doesn't assign an Int. Trying to assign an explicit Int does fail as described.

@jckarter jckarter merged commit cdb662a into master May 17, 2019
@jckarter
Copy link
Member

Thanks!

@airspeedswift airspeedswift deleted the se244-int-literal-fix branch May 17, 2019 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants