[Helma-user] JS 1.6 generics, nested macros

Hannes Wallnoefer hannesw at gmail.com
Thu Apr 12 09:30:15 CEST 2007


2007/4/12, tobias.schaefer at orf.at <tobias.schaefer at orf.at>:
>
> 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
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user
>
>


More information about the Helma-user mailing list