[Issue 12850] ICE when passing associative array to template

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 3 21:54:09 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12850

monkeyworks12 at hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE                         |ICE when passing
                   |                            |associative array to
                   |                            |template

--- Comment #1 from monkeyworks12 at hotmail.com ---
The error given is:

dmd: interpret.c:310: static int CompiledCtfeFunction::walkAllVars(Expression*,
void*): Assertion `0' failed.

When I pass an associative array of type int[Index!5] as an alias to a
template. The code is too long to paste here, see the dpaste link for the
smallest example I could create.

http://dpaste.dzfl.pl/b2918df47beb

--


More information about the Digitalmars-d-bugs mailing list