Hi Carlos,
as Harbs mentioned, my experience is also, that implemented interface
methods or overridden methods always has to be implemented with the entire
same signature, including optional (default parameters) and required
parameters.

>From the AS3 docs regarding interfaces [1]:
"You also have some flexibility with default parameter values. An interface
definition can include function declarations with default parameter values.
A method that implements such a function declaration must have a default
parameter value that is a member of the same data type as the value
specified in the interface definition, but the actual value does not have to
match"

Why do you think that this doesn't make sense?

Olaf

[1]
https://help.adobe.com/en_US/as3/learn/WS5b3ccc516d4fbf351e63e3d118a9b90204-7f41.html#WS5b3ccc516d4fbf351e63e3d118a9b90204-7f20




--
Sent from: http://apache-royale-development.20373.n8.nabble.com/

Reply via email to