[Issue 21164] segfault on incomplete static if

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 11 08:21:29 UTC 2020


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

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 #11585 "Fix Issue 21164 - segfault on incomplete static
if" was merged into stable:

- 47f6017d6e65c875a1bff427ed997c678e16f068 by Stefan Koch:
  Fix 21164 - segfault on incomplete static if

  With this change we now check for the existance
  of a static if condition and will only proceed
  if there is one.

  The test doesn't use the imports folder due to problems
  with path changes on the error message for windows.

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

--


More information about the Digitalmars-d-bugs mailing list