Bug 20709 – Segmentation fault when importing nonexistent type
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-03-29T23:04:19Z
Last change time
2020-06-17T17:53:58Z
Keywords
ice, pull
Assigned to
No Owner
Creator
andy.pj.hanson
Comments
Comment #0 by andy.pj.hanson — 2020-03-29T23:04:19Z
**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.
Comment #1 by dlang-bot — 2020-06-17T02:52:27Z
@NilsLankila created dlang/dmd pull request #11286 "fix issue 20709 - Segmentation fault when importing nonexistent type" fixing this issue:
- fix issue 20709 - Segmentation fault when importing nonexistent type
https://github.com/dlang/dmd/pull/11286
Comment #2 by dlang-bot — 2020-06-17T17:53:58Z
dlang/dmd pull request #11286 "fix issue 20709 - Segmentation fault when importing nonexistent type" was merged into stable:
- c227dd4849acbac2f7ff741d1cf0736f23552d09 by Nils Lankila:
fix issue 20709 - Segmentation fault when importing nonexistent type
https://github.com/dlang/dmd/pull/11286