[Issue 2784] New: Interfaces should be able to require type definitions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 2 10:52:17 PDT 2009


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

           Summary: Interfaces should be able to require type definitions
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: andrei at metalanguage.com


This should work:

interface Foo
{
    typedef Bar;
}

meaning that the interface should contain a type Bar, without any additional
restriction on Bar.


-- 



More information about the Digitalmars-d-bugs mailing list