D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 20453 - [REG 2.071.0] ICE with package in package
Summary: [REG 2.071.0] ICE with package in package
Status: RESOLVED DUPLICATE of issue 17991
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 regression
Assignee: No Owner
URL:
Keywords: ice
Depends on:
Blocks:
 
Reported: 2019-12-17 23:24 UTC by Vladimir Panteleev
Modified: 2019-12-18 16:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Vladimir Panteleev 2019-12-17 23:24:27 UTC
echo 'import p.q;' > test.d
mkdir -p p/q
echo 'import p.q.m;' > p/q/package.d
echo '' > p/q/m.d

Segfaults in Import::semantic(Scope*).

Introduced in https://github.com/dlang/dmd/pull/5426.
Comment 1 Vladimir Panteleev 2019-12-17 23:26:59 UTC
Hmm, this test case does not reproduce on master. It has since been fixed. Will re-reduce.
Comment 2 Vladimir Panteleev 2019-12-18 16:45:45 UTC

*** This issue has been marked as a duplicate of issue 17991 ***