Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Cheetah 0.5 and enhanced for loops
Cheetah 0.5 and enhanced for loops [message #160133] Sun, 23 May 2004 09:33 Go to next message
Eclipse UserFriend
Originally posted by: tcn.spamgourmet.org

Hi!

Isn't Cheetah 0.5 supporting the new for loop syntax already?

List l = ...
for ( Item i : l)
{
...
}


An internal error occurred during: "Java AST creation".
java.lang.IllegalArgumentException: Not yet implemented: convert(class
org.eclipse.jdt.internal.compiler.ast.ForeachStatement)
org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.j ava:1837)
org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.j ava:408)
org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations( ASTConverter.java:213)
org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.j ava:1981)
org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.j ava:948)
org.eclipse.jdt.core.dom.ASTParser.convert(ASTParser.java:70 7)
org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTPars er.java:677)
org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java: 573)
org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST (ASTProvider.java:437)
org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(AS TProvider.java:389)
org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWit hASTManager$PartListenerGroup.calculateASTandInform(Selectio nListenerWithASTManager.java:123)
org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWit hASTManager$1.run(SelectionListenerWithASTManager.java:101)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Re: Cheetah 0.5 and enhanced for loops [message #160275 is a reply to message #160133] Mon, 24 May 2004 06:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Timo Nentwig wrote:

> Hi!
>
> Isn't Cheetah 0.5 supporting the new for loop syntax already?

Please use bugzilla to report bugs.

Dani

>
> List l = ...
> for ( Item i : l)
> {
> ...
> }
>
>
> An internal error occurred during: "Java AST creation".
> java.lang.IllegalArgumentException: Not yet implemented: convert(class
> org.eclipse.jdt.internal.compiler.ast.ForeachStatement)
> org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.j ava:1837)
> org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.j ava:408)
> org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations( ASTConverter.java:213)
>
> org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.j ava:1981)
> org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.j ava:948)
> org.eclipse.jdt.core.dom.ASTParser.convert(ASTParser.java:70 7)
> org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTPars er.java:677)
> org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java: 573)
> org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST (ASTProvider.java:437)
>
> org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(AS TProvider.java:389)
>
> org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWit hASTManager$PartListenerGroup.calculateASTandInform(Selectio nListenerWithASTManager.java:123)
>
> org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWit hASTManager$1.run(SelectionListenerWithASTManager.java:101)
>
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Re: Cheetah 0.5 and enhanced for loops [message #160445 is a reply to message #160133] Mon, 24 May 2004 17:11 Go to previous message
Eclipse UserFriend
Originally posted by: olivier_thomannNO.ca.ibm.comSPAM

Le Sun, 23 May 2004 15:33:37 +0200, Timo Nentwig <tcn@spamgourmet.org>
a écrit :
>Isn't Cheetah 0.5 supporting the new for loop syntax already?
I opened bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=63761.
Please add yourself in CC.
--
Olivier
Previous Topic:###.index file maintenance
Next Topic:The active editor does not contain a main type.
Goto Forum:
  


Current Time: Tue May 13 00:13:34 EDT 2025

Powered by FUDForum. Page generated in 0.03389 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top