Skip to content

Commit ccc75ae

Browse files
committed
wip
1 parent 67e9e79 commit ccc75ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/IssueReporting/Internal/SwiftTesting.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ func _currentTest() -> _Test? {
324324
#endif
325325
}
326326

327-
return (function as! @Sendable () -> _Test?)()
327+
return unsafeBitCast(function, to: (@Sendable () -> _Test?).self)()
328328
}
329329

330330
#if DEBUG

0 commit comments

Comments
 (0)