Re: Compiler bug

2018-04-12 Thread Daniel.Sun
Please try Groovy 2.4.15. Cheers, Daniel.Sun -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Compiler bug

2018-04-12 Thread Kerridge, Jon
Hi, I got his error from Groovy 2.3.0 beta3 from the following code snippet at the highlighted line double doFitness(List board) { List leftDiagonal = new ArrayList(2*N) List rightDiagonal = new ArrayList(2*N) double sum = 0.0D for ( i in 1 .. 2*N) {

Re: About creating instances of non-static inner classes with Java-Like syntax

2018-04-12 Thread Jesper Steen Møller
Hi Remko, I'm so glad that somebody's used it (in Java). I've fixed an issue or two over in Eclipse JDT around this very construct (placement new) - I had to read the spec to find out how it was supposed to work... -Jesper > On 11 Apr 2018, at 16.01, Remko Popma wrote: