[Issue 20709] New: Segmentation fault when importing nonexistent type
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 29 23:04:19 UTC 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 at puremagic.com
Reporter: andy.pj.hanson at 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.
--
More information about the Digitalmars-d-bugs
mailing list