Skip to content

Commit cc44f22

Browse files
committed
[Function builder] Eliminate unnecessary dependency on UnderlyingTypeForOpaqueReturnType.
1 parent d850ed6 commit cc44f22

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Sema/BuilderTransform.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,6 @@ Optional<BraceStmt *> TypeChecker::applyFunctionBuilderBodyTransform(
10411041
ConstraintKind resultConstraintKind = ConstraintKind::Conversion;
10421042
if (auto opaque = resultContextType->getAs<OpaqueTypeArchetypeType>()) {
10431043
if (opaque->getDecl()->isOpaqueReturnTypeOfFunction(func)) {
1044-
options |= ConstraintSystemFlags::UnderlyingTypeForOpaqueReturnType;
10451044
resultConstraintKind = ConstraintKind::OpaqueUnderlyingType;
10461045
}
10471046
}

0 commit comments

Comments
 (0)