[Issue 20417] __traits(compiles) returns false result if expression is not wrapped inside a lambda while typeof works correctly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 29 10:36:57 UTC 2019


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

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

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

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #10626 "Fix issue 20417 - Do not run ctfe for
temporaries inside __traits(compiles)" was merged into master:

- 4ec3e6b8b1f3792b7036dde008539e8904d80ad6 by سليمان السهمي  (Suleyman Sahmi):
  Fix issue 20417 - Do not run ctfe for temporaries inside __traits(compiles)

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

--


More information about the Digitalmars-d-bugs mailing list