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



--- Comment #6 from bearophile_h...@eml.cc 2013-11-25 07:42:13 PST ---
(In reply to comment #5)
> 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.

I think ?: is supposed to pick the most specialized type of the two. And I
think int[2] contains more information than int[], so it's more specialized.

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

Reply via email to