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
I think the issue here is that by removing the return, the closure type is being changed to implicitly return a Task instead. I'm not sure why that crashes rather than being a compilation error though - might be a bug in the Swift compiler?
In any case, a workaround for now might be to add an explicit -> Void to the return type? Or if that doesn't work, adding:
// swiftformat:disable:next redundantReturn
Above the return line should solve it until I can find a fix.
my config:
The text was updated successfully, but these errors were encountered: