File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1267,7 +1267,7 @@ namespace {
1267
1267
// The semanticExpr must have the same type as this node.
1268
1268
auto semanticTV = CS.getType (semanticExpr);
1269
1269
auto semanticLocator = CS.getConstraintLocator (semanticExpr);
1270
- CS.addConstraint (ConstraintKind::Equal , tv, semanticTV,
1270
+ CS.addConstraint (ConstraintKind::Bind , tv, semanticTV,
1271
1271
semanticLocator);
1272
1272
}
1273
1273
else if (auto appendingExpr = expr->getAppendingExpr ()) {
@@ -3129,7 +3129,7 @@ namespace {
3129
3129
3130
3130
if (auto subExpr = expr->getSubExpr ()) {
3131
3131
auto subExprType = CS.getType (subExpr);
3132
- CS.addConstraint (ConstraintKind::Equal , subExprType, tv, locator);
3132
+ CS.addConstraint (ConstraintKind::Bind , subExprType, tv, locator);
3133
3133
}
3134
3134
3135
3135
return tv;
You can’t perform that action at this time.
0 commit comments