http://d.puremagic.com/issues/show_bug.cgi?id=7950
Summary: Cannot derive interface from empty type tuple Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: samu...@voliacable.com --- Comment #0 from Max Samukha <samu...@voliacable.com> 2012-04-20 10:31:13 PDT --- Empty tuple in an interface's base type list should be legal as it is with classes. import std.typetuple; interface I {} // ok interface I2 : TypeTuple!() {} // ok interface I3 : TypeTuple!(I) {} // ok class A : I, TypeTuple!() {} // ok interface I4 : I, TypeTuple!() {} // fail Error: interface a.I4 base type must be interface, not () -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------