[ConstraintSystem] Add a skeleton of ClosureBodyElement constraint

This commit is contained in:
Pavel Yaskevich
2021-07-09 13:53:30 -07:00
parent a1c0823f46
commit eb8eabfba7
6 changed files with 114 additions and 1 deletions

View File

@@ -130,6 +130,13 @@ bool ConstraintSystem::generateConstraints(ClosureExpr *closure) {
return generator.hadError;
}
ConstraintSystem::SolutionKind
ConstraintSystem::simplifyClosureBodyElementConstraint(
TypeVariableType *elementTy, ASTNode element, TypeMatchOptions flags,
ConstraintLocatorBuilder locator) {
return SolutionKind::Error;
}
// MARK: Solution application
namespace {