← Back to index
|
Original Bugzilla link
Bug 18343 – Crash when importing empty module and package in subfolder
Status
RESOLVED
Resolution
DUPLICATE
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-01-31T10:33:25Z
Last change time
2020-01-27T02:59:02Z
Assigned to
No Owner
Creator
FeepingCreature
Comments
Comment #0
by default_357-line — 2018-01-31T10:33:25Z
Steps to reproduce: mkdir -p a/b touch a/b/x.d touch a/b/package.d echo "import a.b, a.b.x;" > bug.d dmd bug.d Expected: Some error. Actual: DMD segfaults.
Comment #1
by dlang-bugzilla — 2018-07-10T13:28:25Z
Looks like the same issue: mkdir -p p1/p2/p3 touch p1/p2/p3/m.d echo 'import p1.p2.p3.m;' > p1/p2/p3/package.d echo 'import p1.p2.p3;' > test.d dmd -o- test.d
Comment #2
by boris2.9 — 2020-01-27T02:59:02Z
*** This issue has been marked as a duplicate of issue 20518 ***