Re: multi-declaration does not work in the for loop, groovy 2.4

2018-08-06 Thread Nelson, Erick
Same in 2.5.1 from eclipse photon… org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: /Users/en032339/Documents/workspace3/script6/src/erick/erick.groovy: 6: unexpected token: = @ line 6, column 14. for (int foo = 0, bar = 0; foo Reply-To:

Re: multi-declaration does not work in the for loop, groovy 2.4

2018-08-06 Thread Paul King
Yes, that is by design for 2.4.x, you'll have to bring one of the declarations outside the loop or use one of the many internal iteration approaches. The Parrot parser handles that syntax. On Mon, Aug 6, 2018 at 11:37 PM ocs@ocs wrote: > Hi there, > > I have just bumped into a — presumably —