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