March 29, 2020
https://issues.dlang.org/show_bug.cgi?id=20709

          Issue ID: 20709
           Summary: Segmentation fault when importing nonexistent type
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: andy.pj.hanson@gmail.com

**app.d**:

```
module app;

import b : Point;

immutable Point aPoint = somePoint;

Point somePoint() {}
```

**b.d**:

```
module b;
```

The error output is as expected, but the compiler segfaults.

--