[Issue 3836] [TDPL] obligatory override attribute
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 26 04:30:07 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3836
--- Comment #2 from bearophile_hugs at eml.cc 2011-04-26 04:26:24 PDT ---
How do you compile this with "-w" (warnings on) (reduced from code by Benjamin
Thaut)?
class Foo(T, R...) : Foo!R {
void bar() {
super.bar();
}
}
class Foo(T){
void bar() {}
}
void main() {
new Foo!(int, float)();
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list