http://d.puremagic.com/issues/show_bug.cgi?id=3813
--- Comment #10 from bearophile_h...@eml.cc 2011-01-08 03:30:24 PST --- This Python2 program: array1 = [1, 2] print array1 array2 = [1.0, 2.0] print array2 Prints: [1, 2] [1.0, 2.0] This similar D2 program: import std.stdio; void main() { int[2] array1 = [1, 2]; writeln(array1); double[2] array2 = [1.0, 2.0]; writeln(array2); } With DMD 2.051 prints: [1, 2] [1, 2] A print like the one shown by Python this is better because it allows to better tell apart visually the types of the two arrays: [1, 2] [1.0, 2.0] -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------