[Issue 5947] New: Classes derived from templated interfaces do not check for method implementation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 7 13:28:53 PDT 2011


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

           Summary: Classes derived from templated interfaces do not check
                    for method implementation
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: robert at octarineparrot.com


--- Comment #0 from Robert Clipsham <robert at octarineparrot.com> 2011-05-07 21:24:55 BST ---
The following code:
----
interface I(T)
{
    T foo();
    void bar();
}

class C : I!int
{
}
----
Compiles without error, it should complain that foo and bar are not
implemented.

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