Skip to content

Commit a38088b

Browse files
committed
Fix optionality
1 parent 690f3bb commit a38088b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/_Testing_ExperimentalInfrastructure/FallbackEventHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ package func fallbackEventHandler() -> FallbackEventHandler? {
6666
return fallbackEventHandler.pointee
6767
}
6868
#else
69-
return _fallbackEventHandler.load(ordering: .sequentiallyConsistent).map { fallbackEventHandler in
69+
return _fallbackEventHandler.load(ordering: .sequentiallyConsistent).flatMap { fallbackEventHandler in
7070
unsafeBitCast(fallbackEventHandler, to: FallbackEventHandler?.self)
7171
}
7272
#endif

0 commit comments

Comments
 (0)