packages feed

hls-refactor-plugin 2.1.0.0 → 2.2.0.0

raw patch · 4 files changed

+5/−6 lines, 4 filesdep ~ghcidedep ~hls-plugin-apidep ~hls-test-utilsPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: ghcide, hls-plugin-api, hls-test-utils

API changes (from Hackage documentation)

Files

hls-refactor-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version:      3.0 name:               hls-refactor-plugin-version:            2.1.0.0+version:            2.2.0.0 synopsis:           Exactprint refactorings for Haskell Language Server description:   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -68,8 +68,8 @@     , ghc-boot     , regex-tdfa     , text-rope-    , ghcide                == 2.1.0.0-    , hls-plugin-api        == 2.1.0.0+    , ghcide                == 2.2.0.0+    , hls-plugin-api        == 2.2.0.0     , lsp     , text     , transformers@@ -103,7 +103,7 @@     , base     , filepath     , hls-refactor-plugin-    , hls-test-utils      == 2.1.0.0+    , hls-test-utils      == 2.2.0.0     , lens     , lsp-types     , text
src/Development/IDE/Plugin/Plugins/AddArgument.hs view
@@ -38,7 +38,6 @@                                                             noAnnSrcSpanDP1,                                                             runTransformT) import           Language.Haskell.GHC.ExactPrint.Transform (d1)-import           Language.LSP.Protocol.Message import           Language.LSP.Protocol.Types #endif 
test/Main.hs view
@@ -273,7 +273,6 @@       executeCommand c       if src /= expected           then do-            void $ skipManyTill anyMessage loggingNotification             modifiedCode <- skipManyTill anyMessage (getDocumentEdit docId)             liftIO $ modifiedCode @?= T.unlines expected           else do
test/Test/AddArgument.hs view
@@ -64,6 +64,7 @@           liftIO $ actionTitle @?= ("Add argument ‘" <> varName <> "’ to function")           executeCodeAction action     goldenWithHaskellDoc+      def       (mkPluginTestDescriptor Refactor.bindingsPluginDescriptor "ghcide-code-actions-bindings")       (testFileName <> " (golden)")       "test/data/golden/add-arg"