Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.5.6
-
Fix Version/s: 1.6-rc-1, 1.5.8, 1.7-beta-1
-
Component/s: ast builder
-
Labels:None
-
Number of attachments :
Description
Consider a piece of code like this :
for ( final Element e : someCollectionOfElement ) {
//do something with e
}
while this compiles with Java, Groovy gives me the following exception
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup.