Keep the old signature, and add an overload with the new signature.

Attila.

On 2008.01.17., at 9:02, Marc Guillemot wrote:

> yyy would be for instance the string representation on which the  
> method
> was called.
>
> Adding this can only be done in changing the signature of
> ScriptRuntime#notFunctionError to accept an additional parameter but  
> you
> seem to say that it shouldn't be done to allow script compiled with
> earlier versions of Rhino should continue to work. Is this position
> definitive? I'm quite skeptic concerning such things that a project
> wants to maintain but that are not covered by tests. Are you really  
> sure
> that the changes made between previous releases respect that?
>
> Yes, I want to propose a patch but I first need to know what kind of
> changes are allowed.
>
> Cheers,
> Marc.
> -- 
> Blog: http://mguillem.wordpress.com
> _______________________________________________
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to