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

Method lookup occurs before numeric fallback #39989

Closed
durka opened this issue Feb 20, 2017 · 1 comment
Closed

Method lookup occurs before numeric fallback #39989

durka opened this issue Feb 20, 2017 · 1 comment

Comments

@durka
Copy link
Contributor

durka commented Feb 20, 2017

Method lookup fails on literals, e.g. 42.swap_bytes() and 42.0.sqrt(), even though it works once they are annotated with the type that they will get by default, 42i32.swap_bytes() and 42.0f32.sqrt() respectively.

@Aatch
Copy link
Contributor

Aatch commented Feb 21, 2017

Duplicate of #24124

@Aatch Aatch closed this as completed Feb 21, 2017
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

No branches or pull requests

2 participants