Skip to content

Commit 8945881

Browse files
hololeapjneira
andauthored
Update ghcide dependency for various plugins (#2368)
* hls-class-plugin: Update ghcide dependency `hls-class-plugin-1.0.1.1` imports `Development.IDE.GHC.Compat.Util`, which doesn't exist until version `1.5.0` ``` Building library for hls-class-plugin-1.0.1.1.. [1 of 1] Compiling Ide.Plugin.Class ( src/Ide/Plugin/Class.hs, dist/build/Ide/Plugin/Class.o, dist/build/Ide/Plugin/Class.dyn_o ) src/Ide/Plugin/Class.hs:27:1: error: Could not find module ‘Development.IDE.GHC.Compat.Util’ Perhaps you meant Development.IDE.GHC.Compat (from ghcide-1.4.2.2) Development.IDE.GHC.Util (from ghcide-1.4.2.2) Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 27 | import Development.IDE.GHC.Compat.Util | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` * hls-fourmolu-plugin: Update ghcide dependency ``` src/Ide/Plugin/Fourmolu.hs:18:1: error: Could not find module ‘Development.IDE.GHC.Compat.Util’ Perhaps you meant Development.IDE.GHC.Compat (from ghcide-1.4.2.2) Development.IDE.GHC.Util (from ghcide-1.4.2.2) Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 18 | import qualified Development.IDE.GHC.Compat.Util as S | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` * hls-hlint-plugin: Update ghcide dependency ``` src/Ide/Plugin/Hlint.hs:79:1: error: Could not find module ‘Development.IDE.GHC.Compat.Core’ Perhaps you meant Development.IDE.GHC.Compat (from ghcide-1.4.2.2) Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 79 | import Development.IDE.GHC.Compat.Core hiding | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... ``` * hls-ormolu-plugin: Update ghcide dependency ``` src/Ide/Plugin/Ormolu.hs:14:69: error: Module ‘Development.IDE.GHC.Compat’ does not export ‘hsc_dflags’ | 14 | import Development.IDE.GHC.Compat (moduleNameString, hsc_dflags) | ^^^^^^^^^^ src/Ide/Plugin/Ormolu.hs:16:1: error: Could not find module ‘Development.IDE.GHC.Compat.Util’ Perhaps you meant Development.IDE.GHC.Compat (from ghcide-1.4.2.2) Development.IDE.GHC.Util (from ghcide-1.4.2.2) Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 16 | import qualified Development.IDE.GHC.Compat.Util as S | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` * hls-retrie-plugin: Update ghcide dependency ``` src/Ide/Plugin/Retrie.hs:60:56: error: Module ‘Development.IDE.GHC.Compat’ does not export ‘Outputable’ | 60 | Outputable, | ^^^^^^^^^^ src/Ide/Plugin/Retrie.hs:64:56: error: Module ‘Development.IDE.GHC.Compat’ does not export ‘SourceText(..)’ | 64 | SourceText (..), | ^^^^^^^^^^^^^^^ src/Ide/Plugin/Retrie.hs:68:56: error: Module ‘Development.IDE.GHC.Compat’ does not export ‘hm_iface’ | 68 | hm_iface, isQual, | ^^^^^^^^ src/Ide/Plugin/Retrie.hs:68:66: error: Module ‘Development.IDE.GHC.Compat’ does not export ‘isQual’ | 68 | hm_iface, isQual, | ^^^^^^ src/Ide/Plugin/Retrie.hs:69:56: error: Module ‘Development.IDE.GHC.Compat’ does not export ‘isQual_maybe’ | 69 | isQual_maybe, | ^^^^^^^^^^^^ src/Ide/Plugin/Retrie.hs:72:56: error: Module ‘Development.IDE.GHC.Compat’ does not export ‘nameModule_maybe’ | 72 | nameModule_maybe, | ^^^^^^^^^^^^^^^^ src/Ide/Plugin/Retrie.hs:73:56: error: Module ‘Development.IDE.GHC.Compat’ does not export ‘nameRdrName’ | 73 | nameRdrName, occNameFS, | ^^^^^^^^^^^ src/Ide/Plugin/Retrie.hs:73:69: error: Module ‘Development.IDE.GHC.Compat’ does not export ‘occNameFS’ | 73 | nameRdrName, occNameFS, | ^^^^^^^^^ src/Ide/Plugin/Retrie.hs:74:56: error: Module ‘Development.IDE.GHC.Compat’ does not export ‘occNameString’ | 74 | occNameString, | ^^^^^^^^^^^^^ src/Ide/Plugin/Retrie.hs:79:56: error: Module ‘Development.IDE.GHC.Compat’ does not export ‘rdrNameOcc’ | 79 | rdrNameOcc, rds_rules, | ^^^^^^^^^^ src/Ide/Plugin/Retrie.hs:81:1: error: Could not find module ‘Development.IDE.GHC.Compat.Util’ Perhaps you meant Development.IDE.GHC.Compat (from ghcide-1.4.2.2) Development.IDE.GHC.Util (from ghcide-1.4.2.2) Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 81 | import Development.IDE.GHC.Compat.Util hiding (catch, try) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` * hls-retrie-plugin: Update ghcide dependency ``` src/Ide/Plugin/Splice.hs:48:1: error: Could not find module ‘Development.IDE.GHC.Compat.Util’ Perhaps you meant Development.IDE.GHC.Compat (from ghcide-1.4.2.2) Development.IDE.GHC.Util (from ghcide-1.4.2.2) Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 48 | import qualified Development.IDE.GHC.Compat.Util as Util | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` * hls-stylish-haskell-plugin: Update ghcide dependency ``` src/Ide/Plugin/StylishHaskell.hs:13:1: error: Could not find module ‘Development.IDE.GHC.Compat.Util’ Perhaps you meant Development.IDE.GHC.Compat (from ghcide-1.4.2.2) Development.IDE.GHC.Util (from ghcide-1.4.2.2) Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 13 | import qualified Development.IDE.GHC.Compat.Util as Util | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` * hls-tactics-plugin: Update ghcide dependency ``` src/Wingman/Metaprogramming/Lexer.hs:14:1: error: Could not find module ‘Development.IDE.GHC.Compat.Core’ Perhaps you meant Development.IDE.GHC.Compat (from ghcide-1.4.2.2) Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 14 | import Development.IDE.GHC.Compat.Core (OccName, mkVarOcc) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Wingman/Range.hs:7:1: error: Could not find module ‘Development.IDE.GHC.Compat.Core’ Perhaps you meant Development.IDE.GHC.Compat (from ghcide-1.4.2.2) Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 7 | import Development.IDE.GHC.Compat.Core | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Wingman/Range.hs:8:1: error: Could not find module ‘Development.IDE.GHC.Compat.Util’ Perhaps you meant Development.IDE.GHC.Compat (from ghcide-1.4.2.2) Development.IDE.GHC.Util (from ghcide-1.4.2.2) Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 8 | import Development.IDE.GHC.Compat.Util as FS | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Wingman/StaticPlugin.hs:12:1: error: Could not find module ‘Development.IDE.GHC.Compat.Util’ Perhaps you meant Development.IDE.GHC.Compat (from ghcide-1.4.2.2) Development.IDE.GHC.Util (from ghcide-1.4.2.2) Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 12 | import Development.IDE.GHC.Compat.Util | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` * hls-test-utils: Update ghcide dependency ``` src/Test/Hls.hs:52:51: error: Module ‘Development.IDE.Plugin.Test’ does not export ‘TestRequest(GetBuildKeysBuilt)’ | 52 | import Development.IDE.Plugin.Test (TestRequest (GetBuildKeysBuilt, WaitForIdeRule, WaitForShakeQueue), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Test/Hls.hs:57:51: error: Module ‘Ide.PluginUtils’ does not export ‘idePluginsToPluginDesc’ | 57 | import Ide.PluginUtils (idePluginsToPluginDesc, | ^^^^^^^^^^^^^^^^^^^^^^ ``` Co-authored-by: Javier Neira <[email protected]>
1 parent 0a55e9c commit 8945881

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

hls-test-utils/hls-test-utils.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ library
4141
, directory
4242
, extra
4343
, filepath
44-
, ghcide ^>=1.4 || ^>=1.5
44+
, ghcide ^>=1.5.0
4545
, hls-graph
4646
, hls-plugin-api ^>=1.2
4747
, hspec <2.8

plugins/hls-class-plugin/hls-class-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ library
2929
, containers
3030
, ghc
3131
, ghc-exactprint
32-
, ghcide >=1.2 && <1.6
32+
, ghcide ^>=1.5.0
3333
, hls-plugin-api >=1.1 && <1.3
3434
, lens
3535
, lsp

plugins/hls-fourmolu-plugin/hls-fourmolu-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ library
2626
, fourmolu ^>=0.3 || ^>=0.4
2727
, ghc
2828
, ghc-boot-th
29-
, ghcide >=1.2 && <1.6
29+
, ghcide ^>=1.5.0
3030
, hls-plugin-api >=1.1 && <1.3
3131
, lens
3232
, lsp

plugins/hls-hlint-plugin/hls-hlint-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ library
5555
, extra
5656
, filepath
5757
, ghc-exactprint >=0.6.3.4
58-
, ghcide ^>=1.4 || ^>=1.5
58+
, ghcide ^>=1.5.0
5959
, hashable
6060
, hlint
6161
, hls-plugin-api >=1.1 && <1.3

plugins/hls-ormolu-plugin/hls-ormolu-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ library
2424
, filepath
2525
, ghc
2626
, ghc-boot-th
27-
, ghcide >=1.2 && <1.6
27+
, ghcide ^>=1.5.0
2828
, hls-plugin-api >=1.1 && <1.3
2929
, lens
3030
, lsp

plugins/hls-retrie-plugin/hls-retrie-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ library
2323
, directory
2424
, extra
2525
, ghc
26-
, ghcide >=1.2 && <1.6
26+
, ghcide ^>=1.5.0
2727
, hashable
2828
, hls-plugin-api >=1.1 && <1.3
2929
, lsp

plugins/hls-splice-plugin/hls-splice-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ library
3838
, foldl
3939
, ghc
4040
, ghc-exactprint
41-
, ghcide >=1.2 && <1.6
41+
, ghcide ^>=1.5.0
4242
, hls-plugin-api >=1.1 && <1.3
4343
, lens
4444
, lsp

plugins/hls-stylish-haskell-plugin/hls-stylish-haskell-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ library
2424
, filepath
2525
, ghc
2626
, ghc-boot-th
27-
, ghcide >=1.2 && <1.6
27+
, ghcide ^>=1.5.0
2828
, hls-plugin-api >=1.1 && <1.3
2929
, lsp-types
3030
, stylish-haskell ^>=0.12 || ^>=0.13

plugins/hls-tactics-plugin/hls-tactics-plugin.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ library
8282
, ghc-boot-th
8383
, ghc-exactprint
8484
, ghc-source-gen ^>=0.4.1
85-
, ghcide ^>=1.4.1 || ^>=1.5
85+
, ghcide ^>=1.5.0
8686
, hls-graph
8787
, hls-plugin-api >=1.1 && <1.3
8888
, hyphenation

0 commit comments

Comments
 (0)