[Issue 15876] New: "a[{keyword" causes DMD to segfault

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Apr 4 16:23:52 PDT 2016


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

          Issue ID: 15876
           Summary: "a[{keyword" causes DMD to segfault
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: initrd.gz at gmail.com

Probably related to https://issues.dlang.org/show_bug.cgi?id=15855, though it
apparently applies to more than just the for keyword.

Example file contents (one file per line):

    o[{scope(x
    o[{template
    d(={for
    typeof){for
    p[{alias
    p(={alias

Similar to the linked issue, DMD spits out some error messages and then
terminates with a segfault. DMD v2.070.2

--


More information about the Digitalmars-d-bugs mailing list