mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Clean up TypeVariableType::Implementation::mustBeMaterializable(), etc
This commit is contained in:
@@ -698,7 +698,7 @@ bool ConstraintGraph::contractEdges() {
|
||||
auto type = binding.BindingType;
|
||||
isNotContractable = type.findIf([&](Type nestedType) -> bool {
|
||||
if (auto tv = nestedType->getAs<TypeVariableType>()) {
|
||||
if (!tv->getImpl().mustBeMaterializable())
|
||||
if (tv->getImpl().canBindToInOut())
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user