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 904b455 commit 5957122Copy full SHA for 5957122
lib/Sema/CSApply.cpp
@@ -5929,8 +5929,7 @@ ArgumentList *ExprRewriter::coerceCallArguments(
5929
5930
// If the argument is an existential type that has been opened, perform
5931
// the open operation.
5932
- if (argType->getRValueType()->getInOutObjectType()
5933
- ->isAnyExistentialType() &&
+ if (argType->getWithoutSpecifierType()->isAnyExistentialType() &&
5934
paramType->hasOpenedExistential()) {
5935
// FIXME: Look for an opened existential and use it. We need to
5936
// know how far out we need to go to close the existentials. Huh.
0 commit comments