http://d.puremagic.com/issues/show_bug.cgi?id=3716
Summary: Regression with multi dimensional array literals Product: D Version: 2.039 Platform: Other OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: aa...@interia.pl --- Comment #0 from Marcin Kuszczak <aa...@interia.pl> 2010-01-17 11:30:37 PST --- void main(char[][] args) { int[][][] input_int1; //input_int1 = [[[2,3],[4,5],[6,7]], [[]], [[0,-5],[-8,1]]]; //Error //input_int1 = [[[2,3],[4,5],[6,7]], [[1]], [[0,-5],[-8,1]]]; //Error input_int1 = [[[2,3],[4,5],[6,7]], [[1,1]], [[0,-5],[-8,1]]]; //Ok int[] input_int2 = [1, 2, 3, 4]; assert(input_int2 == [1, 2, 3, 4]); //Ok int[][] input_int3 = [[1,2], [3,4]]; //assert(input_int3 == [[1,2], [3,4]]); //Error } Above code used to work with DMD 1 compiler. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------