October 16, 2007 [Issue 1584] New: fail to alias super.memberfunc to current scope | ||||
---|---|---|---|---|
| ||||
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. -- |
November 08, 2007 [Issue 1584] fail to alias super.memberfunc to current scope | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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 *** -- |
Copyright © 1999-2021 by the D Language Foundation