On Apr 4, 1:48 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi guys,
> The following error message seems strange to me:
>
> Rhino 1.7 release 1 2008 03 06
> js> 'foo' in 'bar'
> js: "<stdin>", line 2: uncaught JavaScript runtime exception:
> TypeError: Can't use instanceof on a non-object.
>         at <stdin>:2
>
> I understand why this is an error. What I don't get is the actual
> message. Couldn't this be much clearer? If so, where should I report
> the issue? Thanks!

What wording would you prefer? SpiderMonkey says "TypeError: invalid
'in' operand "bar"", which I don't think is better.

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

Reply via email to