Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
import groovy.transform.TypeChecked main() @TypeChecked main() { printEqual(1, 'foo') } @TypeChecked <T> void printEqual(T arg1, T arg2) { println arg1 == arg2 }
Attachments
Issue Links
- relates to
-
GROOVY-10006 @CompileStatic fails to unify types
- Closed