Summary: Wrong type inference for array literals containing
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Simen Kjaeraas <> 2010-11-02 11:13:20 
PDT ---
class A{}
class B:A{}
class C:A{}

auto a = [new B, new C]; // Fails

a clearly should be of type A[], but such is not the case.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to