Transition for removing functions from Object [Compiler devs in particular, please read]
Lionello Lunesu
lionello at lunesu.remove.com
Mon May 27 19:28:34 PDT 2013
On 5/27/13 9:20, Jonathan M Davis wrote:
> class D : C
> {
> void foo() { writeln("D"); }
> void bar() { writeln(super.foo()); }
> }
I think this works just fine, you just have to drop the writeln(). foo()
doesn't return anything, but prints itself.
But yet, super should just work: it should be a variable of type C and
treated as such.
L.
More information about the Digitalmars-d
mailing list