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)?> nillet example = Example < (@Sendable () -> Void)?> nil
which is then an error in Xcode.
let example = Example<(() -> Void)?>
doesn't have this issue.
Given
let example = Example<(@MainActor () -> Void)?>(nil)
orlet example = Example<(@Sendable () -> Void)?>(nil)
thenspaceAroundOperators
will change these tolet 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.