actionscript 3 - How to fix Error "A conflict exists with definition * in namespace public." using ASC2.0? -
in class hierarchy where:
mnglayers extends manager_panel, extends manager_base...
-- in manager_base, i've defined init() method:
public class manager_base {     //....      public function init():void {         //do initialization here...     } }   -- in manager_panel, not override init() method.
-- in mnglayers, override init() method.
public override function init():void {     super.init();     //do custom initialization here...   }   when attempt compile this, unhelpful compilation error:
error: conflict exists definition init in namespace public.
i'm not sure matters, i'm using asc2.0 compiler (from air sdk 3.7) -inline support.
is there broken in compiler prevents doing simple method-overriding compilation previous compiler could?
ah! damn, it's asc2.0 not being descriptive enough!
my bad, had duplicate init() overriden method in leaf sub-class (mnglayers) time. of helped if compiler pointed out duplicate 1 instead!
hope helps else making same rookie mistake! :d