Thread overview
[Issue 20678] Integral deprecation should not trigger on valid code
Aug 20, 2020
Walter Bright
Nov 22, 2021
Mathias LANG
Dec 17, 2022
Iain Buclaw
August 20, 2020
https://issues.dlang.org/show_bug.cgi?id=20678

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> ---
This is not actually a bug, it is adherence to the integral promotion rules.

--
November 22, 2021
https://issues.dlang.org/show_bug.cgi?id=20678

--- Comment #2 from Mathias LANG <pro.mathias.lang@gmail.com> ---
Reduced example:
```
immutable ushort X = ~ushort.max;
```

I'm sorry but if "the rules" dictate that the above code must trigger an error, those rules are wrong.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=20678

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 13
https://issues.dlang.org/show_bug.cgi?id=20678

--- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/17947

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--