In a class hierarchy where:
MngLayers extends Manager_Panel, which extends Manager_Base...
-- In Manager_Base, I've defined an init()
method:
public class Manager_Base {
//....
public function init():void {
//Do initialization here...
}
}
-- In Manager_Panel, I do NOT override the init()
method.
-- In MngLayers, I override the init()
method.
public override function init():void {
super.init();
//Do custom initialization here...
}
When I attempt to compile this, I get this unhelpful compilation error:
Error: A conflict exists with definition init in namespace public.
I'm not sure this matters, but I'm using the ASC2.0 compiler (from the AIR SDK 3.7) with -inline support.
Is there something broken in the compiler that prevents it from doing simple method-overriding compilation like the previous compiler could?