[Issue 10744] [regression git-head v2.064] Rejects valid interface inheritance + wrong error message

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 3 08:12:28 PDT 2013


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-08-03 08:12:26 PDT ---
Reduced test-case:

-----
interface A
{
    Foo foo();
    int x();
}

class B : A
{
    Bar foo() { return null; }
    int x() { return 0; }
}

class Foo { }
class Bar : Foo { }

void main() { }
-----

-- 
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