http://d.puremagic.com/issues/show_bug.cgi?id=8601
Summary: CTFE Assertion failure (interpret.c) on dstring[].toUpper Product: D Version: D2 Platform: x86_64 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: callumena...@gmail.com --- Comment #0 from callumena...@gmail.com 2012-08-30 10:58:03 PDT --- import std.string, std.traits, std.conv; enum E {one, two} enum dstring[] fields = [EnumMembers!E].to!(dstring[]); pragma(msg, fields[0].toUpper); Gives: Assertion failure: '((ArrayLiteralExp *)se->e1)->ownedByCtfe' on line 7009 in file 'interpret.c' DMD32 2.060 Windows 7 Replace dstring[] with string[] and the error changes to a compile-time error in std.string.toUpper, which also should not occur (far as I can tell). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------