[Issue 22122] [REG 2.097][ICE] Segmentation fault in in dmd.access.hasPackageAccess
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jul 13 15:51:30 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22122
Iain Buclaw <ibuclaw at gdcproject.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |industry
CC| |ibuclaw at gdcproject.org
--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
reg13815.d
---
module imports.reg13815;
struct V(W)
{
~this()
{
}
}
struct Y
{
import imports.mod13815;
I[] Z;
}
void BB(Y CB)
{
V!int EB;
foreach(K; CB.Z)
{
import imports.mod13815;
with(K.K.Q!G)
{
}
}
}
---
imports/mod13815.d
---
module imports.mod13815;
alias F = G;
struct I
{
J!F K;
}
package struct G
{
}
struct J(M)
{
union O
{
}
auto Q(R)()
{
return O();
}
}
---
--
More information about the Digitalmars-d-bugs
mailing list