[Issue 507] New: Error: 'this' is required, but ... is not a base class of ...
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Nov 15 01:52:31 PST 2006
http://d.puremagic.com/issues/show_bug.cgi?id=507
Summary: Error: 'this' is required, but ... is not a base class
of ...
Product: D
Version: 0.173
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: benoit at tionex.de
module t;
class B {
public void s() {}
}
class C : B {
alias B.s s;
public static void s(int i) {}
public void s() {}
}
class C2 {
public void f() {
C.s(0); // line 17
}
}
void main() {
}
t.d(17): Error: 'this' is required, but t.C is not a base class of C2
--
More information about the Digitalmars-d-bugs
mailing list