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
Given let example = Example<(@MainActor () -> Void)?>(nil)
or let example = Example<(@Sendable () -> Void)?>(nil)
then spaceAroundOperators
will change these to let example = Example < (@MainActor () -> Void)?> nil let example = Example < (@Sendable () -> Void)?> nil
which is then an error in Xcode.
let example = Example<(() -> Void)?>
doesn't have this issue.
The text was updated successfully, but these errors were encountered:
brzzdev
changed the title
spaceAroundOperators false positive with @MainActor and @Sendable
redundantParens and spaceAroundOperators false positive with @MainActor and @Sendable
May 14, 2024
brzzdev
changed the title
redundantParens and spaceAroundOperators false positive with @MainActor and @Sendable
spaceAroundOperators false positive with @MainActor and @Sendable
May 14, 2024
Given
let example = Example<(@MainActor () -> Void)?>(nil)
or
let example = Example<(@Sendable () -> Void)?>(nil)
then
spaceAroundOperators
will change these to
let example = Example < (@MainActor () -> Void)?> nil
let example = Example < (@Sendable () -> Void)?> nil
which is then an error in Xcode.
let example = Example<(() -> Void)?>
doesn't have this issue.
The text was updated successfully, but these errors were encountered: