[antlr-interest] BUG (JAVA): Generics not permitted in Antlr rule parameter lists

Johannes Luber jaluber at gmx.de
Sun Nov 11 03:39:22 PST 2007


Johannes Luber wrote:
> That's already known - at least for arrays. It could be also that the
> generated Java is only for 1.4. If it is the first cause then I'm not
> sure when it is fixed, though. It was planned for 3.1, but as Ter won't
> release a 3.0-based ANTLR as soon as he thought, it may be a later release.

I forgot the workaround: Use object as parameter type and cast it later.

Johannes




More information about the antlr-interest mailing list