You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is the mismatch in the type argument, not the refined type of types. types uses the unbounded Class<?>, whereas c uses the constrained Class<? extends Object>.
The error goes away when you change c to Class<?> or change types to Class<? extends Object>.
You are right. Thanks for catching my goof.
(This is more motivation for #3623 which proposes to simplify error messages or highlight the relevant parts.)
The output is:
The text was updated successfully, but these errors were encountered: