digitalmars.D.bugs - [Issue 1584] New: fail to alias super.memberfunc to current scope
- d-bugmail puremagic.com (19/19) Oct 16 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1584
- d-bugmail puremagic.com (11/11) Nov 08 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1584
http://d.puremagic.com/issues/show_bug.cgi?id=1584 Summary: fail to alias super.memberfunc to current scope Product: D Version: 1.022 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: davidl 126.com interface C { void a(); } class A : C { void a() {} } class B : A, C { alias A.a a; } // fails to compile The semantic need here is I want a more restrictive interface. The more restrictive interface enforces each subclass either implements the interface or explicitly alias it from super scope. --
Oct 16 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1584 smjg iname.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smjg iname.com Status|NEW |RESOLVED Keywords| |spec Resolution| |DUPLICATE ------- Comment #1 from smjg iname.com 2007-11-08 08:11 ------- *** This bug has been marked as a duplicate of 502 *** --
Nov 08 2007