packages feed

hls-explicit-imports-plugin 2.4.0.0 → 2.5.0.0

raw patch · 2 files changed

+4/−4 lines, 2 filesdep ~ghcidedep ~hls-plugin-api

Dependency ranges changed: ghcide, hls-plugin-api

Files

hls-explicit-imports-plugin.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.2 name:               hls-explicit-imports-plugin-version:            2.4.0.0+version:            2.5.0.0 synopsis:           Explicit imports plugin for Haskell Language Server description:   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>@@ -37,9 +37,9 @@     , containers     , deepseq     , ghc-    , ghcide                == 2.4.0.0+    , ghcide                == 2.5.0.0     , hls-graph-    , hls-plugin-api        == 2.4.0.0+    , hls-plugin-api        == 2.5.0.0     , lens     , lsp     , mtl
src/Ide/Plugin/ExplicitImports.hs view
@@ -399,7 +399,7 @@           not $ any (\e -> ("module " ++ moduleNameString name) == e) exports  isExplicitImport :: ImportDecl GhcRn -> Bool-#if MIN_VERSION_ghc (9,5,0)+#if MIN_VERSION_ghc(9,5,0) isExplicitImport ImportDecl {ideclImportList = Just (Exactly, _)} = True #else isExplicitImport ImportDecl {ideclHiding = Just (False, _)}       = True