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 14df4d1 commit 5aaabfdCopy full SHA for 5aaabfd
stdlib/public/runtime/DynamicCast.cpp
@@ -759,7 +759,7 @@ tryCastToAnyHashable(
759
srcValue, /*emptyCases=*/1);
760
auto nonNil = (sourceEnumCase == 0);
761
if (nonNil) {
762
- return DynamicCast::Failure; // Our caller will unwrap the optional and try again
+ return DynamicCastResult::Failure; // Our caller will unwrap the optional and try again
763
}
764
// If it is nil, fall through to the general case to just wrap the nil
765
0 commit comments