[Issue 2511] Covariant return type doesn't work with circular import

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 27 22:33:36 PDT 2010


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


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com


--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> 2010-08-27 22:33:25 PDT ---
The patch breaks this code:

class UA {
    A29 f() { return null; }
}

class UB : UA {
    B29 f() { return null; }
}

class A29
{
}

class B29 : A29
{
}

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


More information about the Digitalmars-d-bugs mailing list