I'm finding this error, and don't know if is a problem or not.

I'm introducing in this signature

protected function selectionChangeHandler(event:Event):void

a "= null"

protected function selectionChangeHandler(event:Event = null):void

And I get this error:

Error: Incompatible override.

        override protected function selectionChangeHandler(event:Event =
null):void

Is this normal? or we have a bug in the compiler. For me it seems a normal
interface method signature but it seems params with default values are not
supported?

If so I'll create a github issue in compiler for this

thanks

-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to