From d7472be6b3c89251ce4c0db07d32405b43426781 Mon Sep 17 00:00:00 2001 From: Hal Lee Date: Tue, 6 Aug 2024 12:35:47 -0400 Subject: [PATCH] Swift 6 boundary issue fix (#256) --- Sources/Dependencies/WithDependencies.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Dependencies/WithDependencies.swift b/Sources/Dependencies/WithDependencies.swift index 90d7d9f3..c04f3b5f 100644 --- a/Sources/Dependencies/WithDependencies.swift +++ b/Sources/Dependencies/WithDependencies.swift @@ -483,7 +483,7 @@ private func isSetting( private func isSetting( _ value: Bool, isolation: isolated (any Actor)? = #isolation, - operation: () async throws -> R + operation: () async throws -> sending R ) async rethrows -> R { #if DEBUG try await DependencyValues.$isSetting.withValue(value, operation: operation)