perform more detailed search of implemented methods

This commit is contained in:
Dave Holoway
2020-06-23 14:41:20 +01:00
parent ce345965e5
commit cd6bf29e9f
3 changed files with 44 additions and 4 deletions

View File

@@ -304,8 +304,10 @@ function isTypeAssignable(dest_type, value_type) {
}
}
}
} else if (dest_type instanceof TypeVariableType) {
is_assignable = !(value_type instanceof PrimitiveType || value_type instanceof NullType);
}
return is_assignable;
return is_assignable;
}
/**