https://issues.dlang.org/show_bug.cgi?id=15210
--- Comment #3 from Kenji Hara <[email protected]> --- (In reply to Kenji Hara from comment #2) > Reduced test case: Sorry I was wrong, correct version is: struct BigInt {} template Tuple(Types...) { struct Tuple { Types field; void opAssign(R)(R rhs) { field = rhs.field; } } } void main() { alias Foo = Tuple!BigInt; Foo[BigInt] cache; auto x = Foo(); cache[BigInt()] = x; } --
