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 2679294 commit 36c9917Copy full SHA for 36c9917
lib/Sema/CSApply.cpp
@@ -5935,8 +5935,7 @@ ArgumentList *ExprRewriter::coerceCallArguments(
5935
5936
// If the argument is an existential type that has been opened, perform
5937
// the open operation.
5938
- if (argType->getRValueType()->getInOutObjectType()
5939
- ->isAnyExistentialType() &&
+ if (argType->getWithoutSpecifierType()->isAnyExistentialType() &&
5940
paramType->hasOpenedExistential()) {
5941
// FIXME: Look for an opened existential and use it. We need to
5942
// know how far out we need to go to close the existentials. Huh.
0 commit comments