Issue Details (XML | Word | Printable)

Key: GROOVY-217
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jochen Theodorou
Reporter: james strachan
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
groovy

support java style old for loop notation

Created: 24/Feb/04 06:18 PM   Updated: 01/Jul/07 09:39 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1-beta-2

Time Tracking:
Not Specified

File Attachments: 1. Text File groovy-for-yozh-2004-04-06.diff (7 kB)
2. Text File groovy-for-yozh-2004-04-06.diff (6 kB)

Issue Links:
dependent
 


 Description  « Hide
Supporting the old for loop would allow folks to migrate easier...

for (expr; booleanExpr; expr) { ... }



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Chris Poirier added a comment - 23/Mar/04 04:47 AM
Full support for the java for loop syntax now in place. In CVS RSN.

Chris Poirier added a comment - 01/Apr/04 02:33 AM
parser/astbuilder support now in place. See NOT YET IMPLEMENTED string in ASTBuilder.forStatement() for a place to start.

Stepan Koltsov added a comment - 06/Apr/04 01:19 PM
I'm trying to fix this bug. Somebody, please look at my patch.

Stepan Koltsov added a comment - 06/Apr/04 01:49 PM
I've forgotten to write correct things in CodeVisitorSupport.