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

spurious numeric widening warning during implicit search #8513

Closed
scabug opened this issue Apr 17, 2014 · 1 comment
Closed

spurious numeric widening warning during implicit search #8513

scabug opened this issue Apr 17, 2014 · 1 comment
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Apr 17, 2014

scala> 0.toByte.toInt.abs
<console>:8: warning: implicit numeric widening
              0.toByte.toInt.abs
                       ^

The code in question calls context.unit.warning, bypassing the silent mode buffering of warnings and errors.

@scabug
Copy link
Author

scabug commented Apr 17, 2014

Imported From: https://issues.scala-lang.org/browse/SI-8513?orig=1
Reporter: @retronym
Affected Versions: 2.11.0
See #8450

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

No branches or pull requests

2 participants