swiftlang / swift-format

Formatting technology for Swift source code
Apache License 2.0
2.47k stars 227 forks source link

Fix `@_expose` attribute argument spacing #750

Closed kateinoigakukun closed 3 months ago

kateinoigakukun commented 3 months ago

Pretty-print the @_expose with the correct spacing. It was formatted as @_expose(wasm,"foo") instead of @_expose(wasm, "foo").

allevato commented 3 months ago

Would you mind cherry-picking this into the release/6.0 branch as well?

ahoppen commented 3 months ago

I’m merging main into release/6.0 here's o a cherry-pick is not needed. https://github.com/apple/swift-format/pull/751