Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.4
-
None
Description
bug.groovy
def methodAcceptingListOfObjects(List<Object> lo) {}
@groovy.transform.CompileStatic
def usage() {
methodAcceptingListOfObjects([1, 2, 3])
}
Compilation fails with
[Static type checking] - Cannot call #methodAcceptingListOfObjects(java.util.List <java.lang.Object>) with arguments [java.util.List <java.lang.Integer>]