Bug 21060 – ICE in semantic, at d/dmd/dstruct.c:1224
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-07-20T17:11:44Z
Last change time
2020-07-21T00:50:00Z
Keywords
pull
Assigned to
No Owner
Creator
Iain Buclaw
Comments
Comment #0 by ibuclaw — 2020-07-20T17:11:44Z
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 by ibuclaw — 2020-07-20T17:28:50Z
Or maybe issue 19024
Comment #2 by dlang-bot — 2020-07-20T19:38:13Z
@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 by dlang-bot — 2020-07-20T20:08:05Z
@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 by dlang-bot — 2020-07-21T00:16:53Z
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 by dlang-bot — 2020-07-21T00:50:00Z
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