Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0-rc-2
-
None
-
None
Description
Consider the following:
@groovy.transform.CompileStatic class C { void x(Class<? extends CharSequence> c) { } void y() { def t = (Class<?>) String.class x(t) // should be error for <?> not satisfying <? extends CharSequence> } }
Attachments
Issue Links
- relates to
-
GROOVY-10576 STC: map putAll fails to match "?" to "Object"
- Closed