mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/master' into master-next
This commit is contained in:
@@ -800,6 +800,12 @@ void ConstraintSystem::shrink(Expr *expr) {
|
||||
return {false, expr};
|
||||
}
|
||||
|
||||
// Similar to 'ClosureExpr', 'TapExpr' has a 'VarDecl' the type of which
|
||||
// is determined by type checking the parent interpolated string literal.
|
||||
if (isa<TapExpr>(expr)) {
|
||||
return {false, expr};
|
||||
}
|
||||
|
||||
if (auto coerceExpr = dyn_cast<CoerceExpr>(expr)) {
|
||||
if (coerceExpr->isLiteralInit())
|
||||
ApplyExprs.push_back({coerceExpr, 1});
|
||||
|
||||
Reference in New Issue
Block a user