Aleks Tamarkin created GROOVY-11188:
---------------------------------------
Summary: CompileStatic broken for transpose lists in 4.0.14 but
works in 4.0.13
Key: GROOVY-11188
URL: https://issues.apache.org/jira/browse/GROOVY-11188
Project: Groovy
Issue Type: Bug
Affects Versions: 4.0.15, 4.0.14
Reporter: Aleks Tamarkin
the following code when entered into groovyConsole works on 4.0.13 but breaks
on 4.0.14/4.0.15
{code:java}
import groovy.transform.*
@CompileStatic
static foo() {
def l = [37, 34, 12, 412, 5]
[l, [0] + l].transpose().each { int i, int j ->
println "foo $i $j"
}
}
foo() {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)