Summary: 'out' parameters 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-18 15:17:24 PST ---
The following code should compile:
class A{
    void foo(out A a){
        a=new A;
class B:A{
    override void foo(out B b){
        b=new B;

void main(){
    A a;
    B b = new B;;

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

Reply via email to