swiftlang / swift-syntax

A set of Swift libraries for parsing, inspecting, generating, and transforming Swift source code.
Apache License 2.0
3.24k stars 413 forks source link

Remove unnecessary operators. #2817

Closed johnno1962 closed 2 months ago

johnno1962 commented 2 months ago

Hi @ahoppen, follow-up PR to https://github.com/swiftlang/swift-syntax/pull/2439 removing some operators that turn out to not be necessary as I just noticed they are implied by their optional counterparts. Does not seem to affect compile/runtime performance.

ahoppen commented 2 months ago

@swift-ci Please test