Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.1
-
None
Description
public <T> T getSomething() { null } @groovy.transform.CompileStatic public List getList() { getSomething() }
Error:
[Static type checking] - Cannot return value of type T on method returning type java.util.List
Attachments
Issue Links
- relates to
-
GROOVY-10342 STC is unable to infer type parameter of parameterized method call
-
- Closed
-