http://d.puremagic.com/issues/show_bug.cgi?id=7514
Summary: Dynamic array to fixed size array cast error message Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: diagnostic Severity: trivial Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2012-02-15 18:32:14 PST --- D2 code: void main() { char[] s = "ABC".dup; auto a = cast(char[3])s; } I think the error message contains "e2ir: " by mistake, DMD 2.058: test.d(3): Error: e2ir: cannot cast s of type char[] to type char[3u] -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------