[Issue 19704] Segmentation fault in DMD

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 27 14:05:53 UTC 2019


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

Stefan Koch <uplink.coder at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uplink.coder at gmail.com

--- Comment #1 from Stefan Koch <uplink.coder at gmail.com> ---
firstly the code above has to import std.range;
which is missing from the code.

the segfault is a null-pointer-deref inside the semantic handling of CondExp.
(CondExp.econd == null)
which happens because we try to run the semantic-routines on an invalid and
therefore unexpected AST.

--


More information about the Digitalmars-d-bugs mailing list