Unnecessary warning when implicitly casting small-enough literal integers to narrower types #606
Labels
compiler
General compiler. Should eventually become more specific as the issue is triaged
enhancement
New feature or request
This shouldn't produce a warning, as the compiler should know that the literal is small enough.
Input
Expected output
No warnings about casts
Actual output
The text was updated successfully, but these errors were encountered: