[Issue 22115] Optimize if (s.a == 3 ? s : null) to if (s.a == 3)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 13 08:44:16 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22115

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #12860 "fix Issue 22115 - Optimize if (s.a == 3 ? s :
null) to if (s.a == 3)" was merged into master:

- 60e35e43b097b91b47369fcce863822b4b0bcff8 by Walter Bright:
  fix Issue 22115 - Optimize if (s.a == 3 ? s : null) to if (s.a == 3)

https://github.com/dlang/dmd/pull/12860

--


More information about the Digitalmars-d-bugs mailing list