>
>  Compiler error: at [/tmp/lzswf9/lzgen55150/$lzc$class_basecomponent.as:
> > 230]: Error: Incompatible override.
> >
> > override function destroy () {
> >                  ^
> >
> > This is because we're not matching the destroy() method signature
> > because
> > of  the secret "recursiveCall" arg that LzNode.destroy uses
> >
> > function destroy( recursiveCall = null){
> >
> >
> That's a source change right?
>
>
Yes, but I don't really want to change all the classes in the LFC and in the
component libraries (and random user apps) that define a  destroy()  method
to give them  an optional argument.

I wonder if we could make it so that destroy()  method on LzNode takes no
args, and then have
some other internal "destroy" method that takes the extra arg.

Reply via email to