Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.6
-
None
Description
class Test { @groovy.transform.CompileStatic public <X extends Test> X castToMe(Class<X> type, Object o) { return type.cast(o); } }
This compiles in Java, but not in Groovy