Skip to content

Commit 87906df

Browse files
committed
Add missing SWIFT_FALLTHROUGH to the tryCastToString
1 parent 29f2f77 commit 87906df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/runtime/DynamicCast.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@ tryCastToString(
863863
takeOnSuccess, mayDeferChecks);
864864
#endif
865865
}
866+
SWIFT_FALLTHROUGH;
866867
default:
867868
return DynamicCastResult::Failure;
868869
}

0 commit comments

Comments
 (0)