digitalmars.D.bugs - [Issue 9703] New: Failed matrix literal assignment error message
- d-bugmail puremagic.com (24/24) Mar 12 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9703
http://d.puremagic.com/issues/show_bug.cgi?id=9703 Summary: Failed matrix literal assignment error message Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc void main() { int[2][3] a1 = [[1], [2], [3]]; } DMD 2.063alpha gives: temp.d(2): Error: cannot implicitly convert expression ([[1], [2], [3]]) of type int[][] to int[] I think that error message should be improved, because I am not asking it to be converted to a 1D array. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 12 2013