You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Factory version: 2.5.3
Xcode version: 26.0 beta 3 (17A5276g)
Swift version: 6.2
Swift Concurrency checking: Complete
Default actor isolation: MainActor
Approachable concurrency: Yes
This post is related to post number 274, but the solution proposed in it does not help in my case. I found another solution, but I'm not sure if it's thread-safe.
ERROR: "Converting function value of type '@mainactor@sendable () -> Foo' to '@sendable () -> Foo' loses global actor 'MainActor'"
This code will be compiled in my case:
hisokarage, otnielyehezkiel, TanyaSamastr, gersonnoboa and buresdv