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 fc32317 commit a30dcd5Copy full SHA for a30dcd5
Tests/ConcurrencyExtrasTests/ResultTests.swift
@@ -28,6 +28,7 @@ final class ResultTests: XCTestCase {
28
}
29
30
31
+#if compiler(>=6)
32
func g(_ value: Int) async throws(SomeError) -> Int {
33
if value == 42 {
34
return 42
@@ -36,7 +37,6 @@ final class ResultTests: XCTestCase {
36
37
38
39
-#if compiler(>=6)
40
func testTypedThrows() async throws {
41
do {
42
let res = await Result { () async throws(SomeError) -> Int in try await g(0) }
0 commit comments