Re: JS 1.6 generics, nested macros

"Hannes Wallnoefer" <[email protected]>
Newsgroups gmane.comp.java.helma.general
Message-ID <[email protected]>
2007/4/12, [email protected] <[email protected]>:
>
> Hi there
>
>  just wanted let you know that I did not get the Array / String generics [1]
> to work:
>
>  $ java -cp lib/rhino.jar
> org.mozilla.javascript.tools.shell.Main
>  Rhino 1.6 release 6 Pre 2007 04 05
>  js> print(Array.forEach);
>  undefined
>  js> print(String.replace);
>  undefined

Looks like this isn't implemented in Rhino. You might want to file a
bug at bugzilla.mozilla.org.

>  Another feature announced with Helma 1.6RC are nested macros; they seem to
> have an issue, too, as already noted at help.antville.org [2]. I can confirm
> that this in fact does not work in some circumstances.

Yes, it's a bug that has been fixed in CVS.

hannes

>  Ciao,
>  tobi
>
>  --
>
>  [1]
> http://developer.mozilla.org/en/docs/New_in_JavaScript_1.6#Array_and_String_generics
>  [2] http://help.antville.org/stories/1607522/
> _______________________________________________
> Helma-user mailing list
> [email protected]
> http://helma.org/mailman/listinfo/helma-user
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.