mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Generalize TypeMatcher::alwaysMismatchGenericParams() to alwaysMismatchTypeParameters()
This commit is contained in:
@@ -387,7 +387,7 @@ static bool unifyConcreteTypes(
|
||||
rhsSubstitutions(rhsSubstitutions),
|
||||
ctx(ctx), inducedRules(inducedRules), debug(debug) {}
|
||||
|
||||
bool alwaysMismatchGenericParams() const { return true; }
|
||||
bool alwaysMismatchTypeParameters() const { return true; }
|
||||
|
||||
bool mismatch(TypeBase *firstType, TypeBase *secondType,
|
||||
Type sugaredFirstType) {
|
||||
|
||||
Reference in New Issue
Block a user