mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Eliminate use of now-removed getInnerParenType().
This commit is contained in:
@@ -743,7 +743,7 @@ namespace {
|
||||
void favorMatchingUnaryOperators(ApplyExpr *expr,
|
||||
ConstraintSystem &CS) {
|
||||
// Find the argument type.
|
||||
auto argTy = getInnerParenType(expr->getArg()->getType());
|
||||
auto argTy = expr->getArg()->getType()->getWithoutParens();
|
||||
|
||||
// Determine whether the given declaration is favored.
|
||||
auto isFavoredDecl = [&](ValueDecl *value) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user