mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-06-24 12:21:58 +02:00
8920d78f3b
These were implemented in swift-syntax but never added to the list of refactoring actions reported by SourceKit-LSP. While at this, also fix two other things: - Report an error if we non-exhaustively checked that we had an empty array of code actions, since this was a tautology - Allow ignoring code actions that we don’t want to check for (needed to write sensible exhaustive checks) - Fixed a bug that caused convert-to-zero-parameter-function to be reported when on a return statement in an accessor block