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

           Summary: cannot pass implicitly to base class casted result to
                    out contract by ref
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Henning Pohl <[email protected]> 2013-06-26 10:31:03 
PDT ---
class B {
    B foo()
    out { } body {
        return null;
    }
}

class D : B {
    override D foo() {
        return null;
    }
}

-----
main.d(9): Error: cast(const(B))__result is not an lvalue
-----

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

Reply via email to