[Issue 8374] One missed array literal interpretation as int[2]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 25 07:30:27 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=8374



--- Comment #5 from yebblies <yebblies at gmail.com> 2013-11-26 02:30:24 EST ---
The problem is, while [10,20] converts to int[2], int[2] converts to int[]. 
int[] is picked as the common type.  I'm not entirely sure we want to change
that.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list