hls-refactor-plugin 2.2.0.0 → 2.3.0.0
raw patch · 4 files changed
+5/−13 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 +4/−4
- src/Development/IDE/GHC/Dump.hs +0/−4
- src/Development/IDE/Plugin/CodeAction.hs +0/−4
- test/Main.hs +1/−1
hls-refactor-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: hls-refactor-plugin-version: 2.2.0.0+version: 2.3.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.2.0.0- , hls-plugin-api == 2.2.0.0+ , ghcide == 2.3.0.0+ , hls-plugin-api == 2.3.0.0 , lsp , text , transformers@@ -103,7 +103,7 @@ , base , filepath , hls-refactor-plugin- , hls-test-utils == 2.2.0.0+ , hls-test-utils == 2.3.0.0 , lens , lsp-types , text
src/Development/IDE/GHC/Dump.hs view
@@ -11,11 +11,7 @@ import Generics.SYB (ext1Q, ext2Q, extQ) import GHC.Hs hiding (AnnLet) #endif-#if MIN_VERSION_ghc(9,0,1) import GHC.Plugins hiding (AnnLet)-#else-import GhcPlugins-#endif import Prelude hiding ((<>)) -- | Show a GHC syntax tree in HTML.
src/Development/IDE/Plugin/CodeAction.hs view
@@ -1102,14 +1102,10 @@ , mode <- [ ToQualified parensed qual | ExistingImp imps <- [modTarget]-#if MIN_VERSION_ghc(9,0,0) {- HLINT ignore suggestImportDisambiguation "Use nubOrd" -} -- TODO: The use of nub here is slow and maybe wrong for UnhelpfulLocation -- nubOrd can't be used since SrcSpan is intentionally no Ord , L _ qual <- nub $ mapMaybe (ideclAs . unLoc)-#else- , L _ qual <- nubOrd $ mapMaybe (ideclAs . unLoc)-#endif $ NE.toList imps ] ++ [ToQualified parensed modName
test/Main.hs view
@@ -1731,7 +1731,7 @@ suggestAddRecordFieldImportTests :: TestTree suggestAddRecordFieldImportTests = testGroup "suggest imports of record fields when using OverloadedRecordDot" [ testGroup "The field is suggested when an instance resolution failure occurs"- [ ignoreFor (BrokenForGHC [GHC810, GHC90, GHC94, GHC96]) "Extension not present <9.2, and the assist is derived from the help message in >=9.4" theTest+ [ ignoreFor (BrokenForGHC [GHC90, GHC94, GHC96]) "Extension not present <9.2, and the assist is derived from the help message in >=9.4" theTest ] ] where