Make template binding assignableFromLoose to allow ? to match anything. This matches existing behavior for calls, though I could see us being more strict./
GITHUB_BREAKING_CHANGES=n/a
@@ -95,7 +95,7 @@ public final class TemplateBindingUtil {
reportedErrors = true;
continue;
}
- if (!base.getParameterMap().get(member.name()).isAssignableFromStrict(member.type())) {
+ if (!base.getParameterMap().get(member.name()).isAssignableFromLoose(member.type())) {
errorReporter.report(
PARAMETER_TYPE_MISMATCH,
member.name(),
