On Thursday, 12 May 2016 at 09:22:02 UTC, Nordlöw wrote:
>>> "Comparison is always false: literal 1000 is not representable
>>> as 'byte'"
>
> What's wrong with having this warning?
This is, IMO, just a more informative diagnostic than:
"Statement at `foo()` is not reachable":
in the following code:
if (b == 1000)
{
foo();
}