https://issues.dlang.org/show_bug.cgi?id=21060
Issue ID: 21060
Summary: ICE in semantic, at d/dmd/dstruct.c:1224
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
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
{
}
```
--