digitalmars.D.bugs - [Issue 7514] New: Dynamic array to fixed size array cast error message
- d-bugmail puremagic.com (24/24) Feb 15 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7514
- d-bugmail puremagic.com (12/12) Feb 15 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7514
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: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc --- Comment #0 from bearophile_hugs 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: -------
Feb 15 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7514 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies gmail.com Resolution| |DUPLICATE --- Comment #1 from yebblies <yebblies gmail.com> 2012-02-16 14:50:08 EST --- *** This issue has been marked as a duplicate of issue 5113 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 15 2012