Summary: typeof(null) rejected as return type for covariant
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-06-11 08:20:54 PDT ---
DMD 2.059:

class A{
    A foo(){return this;}
class B: A{
    override typeof(null) foo(){return null;} // error

The code should compile.

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

Reply via email to