mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Constraint] Implement gatherReferencedVariables for closure body element
This commit is contained in:
@@ -686,6 +686,8 @@ gatherReferencedTypeVars(Constraint *constraint,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case ConstraintKind::ClosureBodyElement:
|
case ConstraintKind::ClosureBodyElement:
|
||||||
|
typeVars.insert(constraint->getTypeVariables().begin(),
|
||||||
|
constraint->getTypeVariables().end());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user