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.
2 parents 1f9ffc0 + 36c9917 commit 4e25bd8Copy full SHA for 4e25bd8
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