May 02, 2023
https://issues.dlang.org/show_bug.cgi?id=23876

          Issue ID: 23876
           Summary: segfault / ICE regression with packages
           Product: D
           Version: D2
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: d.bugs@webfreak.org

reproduction test case:

reduced.d
```d
void onInvalidType()
{
    import mystd.meta;
    import mystd.range;
}
```

mystd/meta.d
```d
import mystd.range.primitives ;
```

mystd/range/package.d
```d
import mystd.range;
```

mystd/range/primitives.d
```d
// file is empty
```

dmd -c reduced.d

--