← Back to index
|
Original Bugzilla link
Bug 2784 – Interfaces should be able to require type definitions
Status
RESOLVED
Resolution
INVALID
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2009-04-02T12:52:00Z
Last change time
2015-06-09T05:14:40Z
Assigned to
nobody
Creator
andrei
Comments
Comment #0
by andrei — 2009-04-02T12:52:21Z
This should work: interface Foo { typedef Bar; } meaning that the interface should contain a type Bar, without any additional restriction on Bar.
Comment #1
by andrei — 2009-08-27T14:29:32Z
I'm dropping this because introspection seems to be a better path to achieving such requirements.