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 d850ed6 commit cc44f22Copy full SHA for cc44f22
lib/Sema/BuilderTransform.cpp
@@ -1041,7 +1041,6 @@ Optional<BraceStmt *> TypeChecker::applyFunctionBuilderBodyTransform(
1041
ConstraintKind resultConstraintKind = ConstraintKind::Conversion;
1042
if (auto opaque = resultContextType->getAs<OpaqueTypeArchetypeType>()) {
1043
if (opaque->getDecl()->isOpaqueReturnTypeOfFunction(func)) {
1044
- options |= ConstraintSystemFlags::UnderlyingTypeForOpaqueReturnType;
1045
resultConstraintKind = ConstraintKind::OpaqueUnderlyingType;
1046
}
1047
0 commit comments