digitalmars.D.bugs - [Issue 15210] New: [ICE] (glue.c at 1489) with tuples and AAs
- via Digitalmars-d-bugs (28/28) Oct 16 2015 https://issues.dlang.org/show_bug.cgi?id=15210
https://issues.dlang.org/show_bug.cgi?id=15210 Issue ID: 15210 Summary: [ICE] (glue.c at 1489) with tuples and AAs Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: bearophile_hugs eml.cc DMD v.2.069.0-b2: Compile with -inline: void main() { import std.typecons: Tuple; import std.bigInt: BigInt; alias Foo = Tuple!(BigInt); static Foo[BigInt] cache; auto x = Foo(BigInt(0)); BigInt[] arr; foreach (y; arr) cache[y] = x; } Assertion failure: '0' on line 1489 in file 'glue.c' Related to Issue 10632? --
Oct 16 2015