http://d.puremagic.com/issues/show_bug.cgi?id=4030


klickverbot <c...@klickverbot.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |c...@klickverbot.at


--- Comment #1 from klickverbot <c...@klickverbot.at> 2010-08-28 16:23:02 PDT 
---
There is an even shorter example which fails on DMD 2.048:
---
class A {}
class B {}

void main() {
   Object[] foo = [ new A, new B ];
}
---

TDPL has: "The element type of the array is determined by agreement among all
elements of the array, which is computed by means of the conditional operator ?
: (anticipating � 2.3.16)."

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

Reply via email to