I am overriding a method ini in a super class, but strangely the ini method in super class is still called although I am not calling it using super
Any idea? is this a problem in haxe 3? it worked normally with haxe 2.1, p.s: its an OpenFL project, targeting flash ..
class superClass{
public function new(){
..
ini();
}
function ini():Void {
// this line should not be reached, but, it is reached .. !
}
}
class subClass extends superClass{
override function ini():Void
{
// I am not calling super ini here ..
}
}
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "Haxe" group.
Please show how you create instances of your classes.