Summary: Unique arrays should be covariant
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-01-02 22:02:21 PST ---
class A{}
void foo(Object[]){}
A[] bar()pure{return new A[16];}

void main(){
    foo([new A]);   // error                                                    
    foo(new A[16]); // error                                                    
    foo(bar());     // error                                                    

The code should compile.

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

Reply via email to