[Issue 12851] New: ICE when passing const static array to template
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Jun 3 21:59:28 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12851
Issue ID: 12851
Summary: ICE when passing const static array to template
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: monkeyworks12 at hotmail.com
Related: https://issues.dlang.org/show_bug.cgi?id=12850
The error given is:
dmd: ctfeexpr.c:1741: Expression* ctfeIndex(Loc, Type*, Expression*,
uinteger_t): Assertion `e1->op == TOKarrayliteral' failed.
The code is only slightly different from Issue 12850.
http://dpaste.dzfl.pl/ef876e8a6cc9
--
More information about the Digitalmars-d-bugs
mailing list