groovy-all-2.5.0-SNAPSHOT jar file used by groovy-parser is a bit outdated,
the following usual code can not be executed too(but it can be executed by
2.4.7...), so the static complication test cases will be added later :)

@CompileStatic
int cs() {
    List a = [1, 2, 3]
    return a[0];
}
cs();


Cheers,
Daniel.Sun



--
View this message in context: 
http://groovy.329449.n5.nabble.com/Safe-index-for-Groovy-3-tp5736558p5736560.html
Sent from the Groovy Dev mailing list archive at Nabble.com.

Reply via email to