[Issue 20946] New: Segfault by forward reference and undefined identifier

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 18 00:33:44 UTC 2020


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

          Issue ID: 20946
           Summary: Segfault by forward reference and undefined identifier
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: kntroh at gmail.com

dmd 2.092.1 on Linux Mint 19(64-bit), Windows 8 Pro(64-bit)

Segfault after a error message for undefined identifer.

$ cat test.d
class C1 {
    UndefinedType a;
}
typeof(func) f;
void func(C1 ) { }
$ dmd test.d 
test.d(2): Error: undefined identifier UndefinedType
Segmentation fault
$

--


More information about the Digitalmars-d-bugs mailing list