Community
Participate
Working Groups
I get the following message in a dialog "Errors Running Operations" if my code contains an enhanced for loop ( for ( x : collection ) { ... } ). I can minimize that dialog, but the errors accumulate, even if I only edit a Javadoc comment. I'm using the Cheetah 1.5 preview and it says on the page that enhanced for loops work, so I decided to report this. It seems to me like a bug. By the way, what is AST? Is there a way to disable it? 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.java:1837) org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:842) org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1752) org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2039) org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1828) org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:408) org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations (ASTConverter.java:213) org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1981) org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations (ASTConverter.java:218) org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1981) org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:948) org.eclipse.jdt.core.dom.ASTParser.convert(ASTParser.java:707) org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.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(ASTProvider.java:389) org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartLis tenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:123) org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$1.run (SelectionListenerWithASTManager.java:101) org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Close as duplicate of bug 59052. *** This bug has been marked as a duplicate of 59052 ***