Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.3
-
None
-
Windows 7, Java 6, 64-bit, Groovy 2.1.3
Description
Run this code to reproduce the error:
@groovy.transform.CompileStatic class MyClass { static void main(String[] args) { printObjects(MyConstants.MY_CONSTANT) } private static void printObjects(Object... objects) { for(Object o : objects) { println o } } } class MyConstants { public static final int MY_CONSTANT = 1 }