Warning: "Converting non-sendable function value to ..." #3897
-
|
Hi, I use the approach with multiple presentation destination: @Reducer
enum Destination {
case fooFeature(FooFeature)
...
}But during build I get these warnings: Is it possible to fix it / suppress? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
@wojciech-kulik Are you on default main actor isolation? We do have a recent contribution that may fix if you'd like to verify: #3888 We plan on merging it soon. If this branch doesn't fix things for you, can you provide a project that reproduces the issue? |
Beta Was this translation helpful? Give feedback.
-
No, I'm using the default - nonisolated setting in Build Settings. I think I found the solution. Enabling "Approachable Concurrency" removed those warnings :). Not sure why, but it works :D. |
Beta Was this translation helpful? Give feedback.
No, I'm using the default - nonisolated setting in Build Settings.
I'm also using Swift 5.
I think I found the solution. Enabling "Approachable Concurrency" removed those warnings :). Not sure why, but it works :D.