D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 21060 - ICE in semantic, at d/dmd/dstruct.c:1224
Summary: ICE in semantic, at d/dmd/dstruct.c:1224
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2020-07-20 17:11 UTC by Iain Buclaw
Modified: 2020-07-21 00:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Iain Buclaw 2020-07-20 17:11:44 UTC
Seen in the dmd-cxx branch, maybe it's been fixed by same PR as issue 20530 and issue 20537.

bug.d
```
struct S
{
    void print()
    {
        import pkga;
        import pkgb;
    }
}
```

pkga/package.d
```
import pkgc;
```

pkgb/package.d
```
module pkgd;

struct P 
{
}
```

pkgc/package.d
```
import pkgd;
```

pkgd/package.d
```
module pkgd;

struct P 
{
}
```
Comment 1 Iain Buclaw 2020-07-20 17:28:50 UTC
Or maybe issue 19024
Comment 2 Dlang Bot 2020-07-20 19:38:13 UTC
@ibuclaw created dlang/dmd pull request #11435 "fix Issue 21060 - Another test for ICE in semantic" fixing this issue:

- fix Issue 21060 - Another test for ICE in semantic

https://github.com/dlang/dmd/pull/11435
Comment 3 Dlang Bot 2020-07-20 20:08:05 UTC
@ibuclaw created dlang/dmd pull request #11436 "[dmd-cxx] fix Issue 14739, 19024, 21060: ICE in semantic, at d/dmd/dstruct.c:1224" fixing this issue:

- fix Issue 21060 - ICE in semantic, at d/dmd/dstruct.c:1224

https://github.com/dlang/dmd/pull/11436
Comment 4 Dlang Bot 2020-07-21 00:16:53 UTC
dlang/dmd pull request #11436 "[dmd-cxx] fix Issue 14739, 19024, 21060: ICE in semantic, at d/dmd/dstruct.c:1224" was merged into dmd-cxx:

- 12dc815b368ab5c0e2a5916730a3c818961fd54b by Iain Buclaw:
  fix Issue 21060 - ICE in semantic, at d/dmd/dstruct.c:1224

https://github.com/dlang/dmd/pull/11436
Comment 5 Dlang Bot 2020-07-21 00:50:00 UTC
dlang/dmd pull request #11435 "fix Issue 21060 - Another test for ICE in semantic" was merged into master:

- 930989a4f75334c192c48f0a723098551212f92e by Iain Buclaw:
  fix Issue 21060 - Another test for ICE in semantic

https://github.com/dlang/dmd/pull/11435