[Issue 20730] [REG 2.091] __traits(compiles) fails if any ungagged errors occurred in compilation
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Apr 12 12:32:30 UTC 2020
    
    
  
https://issues.dlang.org/show_bug.cgi?id=20730
Dlang Bot <dlang-bot at dlang.rocks> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ibuclaw created dlang/dmd pull request #11023 "fix Issue 20730 - [REG 2.091]
__traits(compiles) fails if any ungagged errors occurred in compilation" fixing
this issue:
- fix Issue 20730 - [REG 2.091] __traits(compiles) fails if any ungagged errors
occurred in compilation
  When running semantic on __traits(compiles), errors are gagged, so
  there's little point checking the value of global.errors here.
  If any real problems occurred, they can be dealt with by the endGagging
  checks at the end of the function.
https://github.com/dlang/dmd/pull/11023
--
    
    
More information about the Digitalmars-d-bugs
mailing list