www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2784] New: Interfaces should be able to require type definitions

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: andrei metalanguage.com


This should work:

interface Foo
{
    typedef Bar;
}

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


-- 
Apr 02 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2784


Andrei Alexandrescu <andrei metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Andrei Alexandrescu <andrei metalanguage.com>  2009-08-27
14:29:32 PDT ---
I'm dropping this because introspection seems to be a better path to achieving
such requirements.

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