[Issue 20934] preview=dtorfields segfaults for disabled/extern constructors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 1 02:39:55 UTC 2020


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

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 #11658 "Fix 20934 - preview=dtorfields segfaults for
disabled/extern construc…" was merged into master:

- d856a146c4c7ea67e387928c08589b3be288ef27 by MoonlightSentinel:
  Fix 20934 - preview=dtorfields segfaults for disabled/extern constructors

  Don't try to insert a destructor body if there's no body because
  the following semantic would segfault due to the missing try-block

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

--


More information about the Digitalmars-d-bugs mailing list