[Issue 24112] binary expressions with noreturn vars produce inconsistent results
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 30 15:19:27 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24112
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick at geany.org
--- Comment #2 from Nick Treleaven <nick at geany.org> ---
> except in the last three statements, which result in a compile error instead.
I think that's correct as the spec says:
> The operands must be integral types
https://dlang.org/spec/expression.html#shift_expressions
--
More information about the Digitalmars-d-bugs
mailing list