We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01fa24c commit 0699263Copy full SHA for 0699263
lib/Sema/CSGen.cpp
@@ -743,7 +743,7 @@ namespace {
743
void favorMatchingUnaryOperators(ApplyExpr *expr,
744
ConstraintSystem &CS) {
745
// Find the argument type.
746
- auto argTy = getInnerParenType(expr->getArg()->getType());
+ auto argTy = expr->getArg()->getType()->getWithoutParens();
747
748
// Determine whether the given declaration is favored.
749
auto isFavoredDecl = [&](ValueDecl *value) -> bool {
0 commit comments