On Jul 9, 7:13 pm, "Marco Cova" <[EMAIL PROTECTED]> wrote:
> Hi list!
>
> Pretty new here, so sorry if what follows is already known/completely
> wrong/etc :-)
>
> There seems to be a problem with Scriptable objects that define both
> the getter (jsGet_) and setter (jsSet_) methods for the same property.
> In this case, the ScriptableObject.buildClassCtor method throws an
> exception with the message:
>     Invalid method "{0}": name "{1}" is already in use.
>
> While this is probably correct when handling methods, it looks like it
> shouldn't apply when dealing with property. The patch in attachment
> should fix the problem (it just moves the check for repeated names
> after the block that handles properties).
>
> Marco
>
>  getset-patch.txt
> 1KDownload

Apologies, this regression crept into the CVS build. A fix has now
been committed.

--N
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to