[Issue 15210] [REG2.064][ICE] (glue.c at 1489) with tuples and AAs
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Oct 20 08:12:33 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=15210
--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> ---
Reduced test case:
struct BigInt {}
alias AliasSeq(T...) = T;
template Tuple(Types)
{
struct Tuple
{
Types expand;
alias field = expand;
}
}
void main()
{
alias Foo = Tuple!BigInt;
Foo[BigInt] cache;
auto x = Foo();
BigInt[] arr;
foreach (y; arr)
cache[y] = x;
}
--
More information about the Digitalmars-d-bugs
mailing list