Skip to content

Commit d8d648d

Browse files
committed
Allow subtyping conversion to add @Sendable in preconcurrency code.
Fixes rdar://99518344.
1 parent 4b361d5 commit d8d648d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Sema/CSFix.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ getConcurrencyFixBehavior(
257257
switch (constraintKind) {
258258
case ConstraintKind::Conversion:
259259
case ConstraintKind::ArgumentConversion:
260+
case ConstraintKind::Subtype:
260261
break;
261262

262263
default:

0 commit comments

Comments
 (0)