http://d.puremagic.com/issues/show_bug.cgi?id=6796
Summary: Several __error with wrong enum definition Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: diagnostic Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2011-10-08 19:12:37 PDT --- Wrong code: void main() { enum int[][] array = [0, 1]; array[0] *= 10; } DMD 2.056head shows several "__error": test.d(2): Error: cannot implicitly convert expression (0) of type int to int[] test.d(2): Error: cannot implicitly convert expression (1) of type int to int[] test.d(3): Error: '[(__error),(__error)][cast(uint)0]' is not a scalar, it is a int[] test.d(3): Error: incompatible types for (([(__error),(__error)][cast(uint)0]) *= (10)): 'int[]' and 'int' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------