Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-1
-
Fix Version/s: 2.0-beta-2
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The following code produces static type checking error:
import groovy.transform.* @TypeChecked class Foo { def say() { FooWithGenerics f FooBound fb f.say(fb) } } class FooWithGenerics { def <T extends FooBound> void say(T p) { } } class FooBound { }