Description
Consider the following:
@groovy.transform.CompileStatic void test(String[] strings) { for (string in strings) { // ... } }
This code does not write an optimized array-based iteration since the type of "string" isn't explicitly declared. "for (String string in strings)" and "for (String string : strings)" are so optimized.