Skip to content

Commit 0b3bb10

Browse files
anka-213pepeiborra
andauthored
Ghc 9.0.1 support for ghcide (#1649)
* hie-compat: Add basic support for ghc-9.0.1 A tiny step towards #297 * hie-compat: Remove dependency on ghc-api-compat * hie-compat: Add more backwards compatability * Import a bunch of upstream ghc9 fixes * cabal.project: allow-newer: *:* The lazy solution to making things compile * Add more upstream fixes * Bump patch of ghc-check * ghcide: Add basic support for GHC-9.0.1 I tried to limit the use of CPP to the Compat module as much as possible by re-exporting the new functions under the old names, but there is still plenty of pragmas all over the code. I'm using ghc-api-compat so the imports doesn't need to be changed as much. * ghcide: Fix backwards compatability with ghc-8.8.4 * ghc9-ghcide: Fix some more issues that caused runtime errors * Restore initDynLinker for older versions of ghc It was probably important for something * Fix ghc-8.6.5 compatability * Fix completion test failures for ghc9 With this example: f asdfgh = asd it would suggest to complete `asd` into `asd_arNC`, which seems to be a name it generated because of deferred-out-of-scope-variables * Ghc-check now supports ghc-9.0.1 * Retrie now supports ghc-9.0.1 But it's not on hackage yet. * Restore retrie orphans * tests: Ghc9 shows [Char] as String by default This seems like an improvement, so just update the test-suite * tests: Ghc9 shows TH-errors after the dollar sign Instead of including it like older versions did $(foo) ~~~~ some TH error/warning * Fix two more test failures - GHC9 uses a more lenient haddock parser - TH2.17 has polymorphic Q monad with a type class * ghc9: Fix "Remove redundant imports" code action In ghc9, only the specific unused function is highlighted, instead of the whole line. * ghcide-tests: Show errors where they are caused instead of deep inside some generic helper function * Only use nub on SrcSpan for ghc>=9 * Remove more CPP pragmas * Remove a bit more CPP This could almost be handled by ghc-api-compat, but if it was imported from TyCoPpr, it doesn't work with ghc < 8.10 * Update stack files to support new versions * Use the version of retire on hackage The new version is now released * Don't use allow-newer: *:* * ghcide-tests: Enable test no longer broken in ghc9 * Update hiedb version for ghcide * Adjust for a minor change in test output for ghc9 * Fix benchmark test for ghc9 Cabal-3.2 is not buildable on ghc9, but 3.4 is builable on older ghc. * Mark minor issues as broken for ghc9 Ghc9 highlights both the constructor and the other fields Maybe this should just be accepted and not seen as broken? * haddock-comments-plugin: Ghc9 support * hls-eval-plugin: Partial ghc9 support * WIP: hls-eval-plugin: Partial ghc9 support * hls-explicit-imports-plugin: Add ghc9 support Now ignores any imports with Unhelpful locations, since we can't make a map of SrcLoc * hls-retrie-plugin: Add ghc9 support * hls-hlint-plugin: Add ghc9 support * Fix backwards compatability of hlint plugin * Fix stack builds (Broken by previous hlint fixes) * Disable tests when their required plugins are disabled Not all plugins are supported on ghc9 yet, but we still want to run the tests for the supported parts * ghc9: Fix module name plugin * Add a stack file and run tests for ghc9 in ci * Add missing packages to ghc-9 stack * Resolve rebase issues Maybe it's better to create merge commits instead? * Allow newer for more packages so cabal stops complaining These aren't really working, but since they are dependencies of packages in the `packages:` section the resolver won't allow us to build anything without this, even if those plugins are disabled. * Replace MIN_GHC_API_VERSION with MIN_VERSION_ghc * Revert incorrect change to hlint code * Remove remaining traces of GHC_LIB flag * Add back ghc 9 to github workflow * Revert "Add back ghc 9 to github workflow" This reverts commit c465a1e. * hie-compat: Add basic support for ghc-9.0.1 A tiny step towards #297 * hie-compat: Remove dependency on ghc-api-compat * hie-compat: Add more backwards compatability * Disable CI for ghc9 * Use newer version of apply-refact * Don't needlessly duplicate code from ghc * hie-compat: Reexport the original version of HieBin * Don't include broken "allow-newer"s * FIx stack build for ghc9 * Fix warning from imperfect merge commit * Don't needlessly duplicate code from ghc * hie-compat: Reexport the original version of HieBin * Add missing ghc-api-compat * Fix ghc9 build for ModuleName * Add more conditionals on flags for tests * Add a separate cabal.project file for ghc9 As far as I know, this is the only way to disable the packages who's dependencies doesn't compile in GHC9 yet. * Fix and re-enable CI for GHC9 * Remove accidental non-breaking space * Fix CI build for ghc9 Since we are changing the flags for haskell-language-server, which CI renames to hls, we need to use the shortened name in those flags as well * Run tests for ghc9 in CI * Minor CI changes * Use proper values when enriching hie * Don't try to test hls-refine-imports-plugin on ghc9 * Update comment about ghc9 crashing on initDynLinker * setSessionDynamicFlags to prevent ghc9 from crashing The only way to set the dynamic linker is with the function `setSessionDynFlags` so we call it with the result from `getSessionDynFlags` to give it a (hopefully sensible) argument. See also this commit: https://gitlab.haskell.org/ghc/ghc/commit/18757cab04c5c5c48eaceea19469d4811c5d0371 * Revert "setSessionDynamicFlags to prevent ghc9 from crashing" This reverts commit 4065ac8. That change made the "ghcide.cradle.muli" tests fail. * Simplify logic in hls-hlint-plugin.cabal * Add comment on OldRealSrcSpan * Remove source overrides for non-ghc9 builds in cabal.project * Remove commented out code Co-authored-by: Pepe Iborra <pepeiborra@me.com> * Remove resolved question from comment "This code is only concerned with extracting argument names, so I don't see how multiplicity would be relevant here" #1649 (comment) * ghc9: Update to latest version of LSP per * cabal-ghc901.project: Remove commented out code * Update the lsp commit hash for stack as well * Use a version of lsp without haskell/lsp#326 That patch was causing test failures, but the issues should be fixed for real at some point, so that patch can be incluede Co-authored-by: Pepe Iborra <pepeiborra@gmail.com> Co-authored-by: Pepe Iborra <pepeiborra@me.com>
1 parent 41bf8b8 commit 0b3bb10

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1353
-260
lines changed

.circleci/config.yml

+6
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ jobs:
103103
- STACK_FILE: "stack-8.10.4.yaml"
104104
<<: *defaults
105105

106+
ghc-9.0.1:
107+
environment:
108+
- STACK_FILE: "stack-9.0.1.yaml"
109+
<<: *defaults
110+
106111
ghc-default:
107112
environment:
108113
- STACK_FILE: "stack.yaml"
@@ -121,4 +126,5 @@ workflows:
121126
- ghc-8.10.2
122127
- ghc-8.10.3
123128
- ghc-8.10.4
129+
- ghc-9.0.1
124130
- ghc-default

.github/workflows/test.yml

+19-11
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,13 @@ jobs:
3333
strategy:
3434
fail-fast: true
3535
matrix:
36-
ghc: ["8.10.4", "8.10.3", "8.10.2", "8.8.4", "8.8.3", "8.8.2", "8.6.5", "8.6.4"]
36+
ghc: ["9.0.1", "8.10.4", "8.10.3", "8.10.2", "8.8.4", "8.8.3", "8.8.2", "8.6.5", "8.6.4"]
3737
os: [ubuntu-latest, macOS-latest]
3838
include:
3939
# only test supported ghc major versions
40+
- os: ubuntu-latest
41+
ghc: '9.0.1'
42+
test: true
4043
- os: ubuntu-latest
4144
ghc: '8.10.4'
4245
test: true
@@ -70,7 +73,7 @@ jobs:
7073
uses: haskell/actions/setup@v1
7174
with:
7275
ghc-version: ${{ matrix.ghc }}
73-
cabal-version: "3.2"
76+
cabal-version: "3.4"
7477

7578
- if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
7679
run: ./fmt.sh
@@ -88,6 +91,11 @@ jobs:
8891
echo "CABAL_STORE_DIR=~/.cabal/store" >> $GITHUB_ENV
8992
echo "CABAL_PKGS_DIR=~/.cabal/packages" >> $GITHUB_ENV
9093
94+
# Needs to be before Cache Cabal so the cache can detect changes to the modified cabal.project file
95+
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.ghc == '9.0.1' }}
96+
name: Use modified cabal.project for ghc9
97+
run: cp cabal-ghc901.project cabal.project
98+
9199
- if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
92100
name: Cache Cabal
93101
uses: actions/cache@v2
@@ -112,7 +120,7 @@ jobs:
112120
run: |
113121
sed -i.bak -e 's/haskell-language-server/hls/g' \
114122
-e 's/haskell_language_server/hls/g' \
115-
haskell-language-server.cabal
123+
haskell-language-server.cabal cabal.project
116124
sed -i.bak -e 's/Paths_haskell_language_server/Paths_hls/g' \
117125
src/**/*.hs exe/*.hs
118126
@@ -146,38 +154,38 @@ jobs:
146154
# instances to be spun up for the poor github actions runner to handle
147155
run: cabal test wrapper-test --test-options="-j1" || cabal test wrapper-test --test-options="-j1" || cabal test wrapper-test --test-options="-j1"
148156

149-
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
157+
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
150158
name: Test hls-brittany-plugin
151159
run: cabal test hls-brittany-plugin --test-options="-j1 --rerun-update" || cabal test hls-brittany-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-brittany-plugin --test-options="-j1 --rerun"
152160

153-
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
161+
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
154162
name: Test hls-class-plugin
155163
run: cabal test hls-class-plugin --test-options="-j1 --rerun-update" || cabal test hls-class-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-class-plugin --test-options="-j1 --rerun"
156164

157-
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
165+
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
158166
name: Test hls-eval-plugin
159167
run: cabal test hls-eval-plugin --test-options="-j1 --rerun-update" || cabal test hls-eval-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-eval-plugin --test-options="-j1 --rerun"
160168

161169
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
162170
name: Test hls-haddock-comments-plugin
163171
run: cabal test hls-haddock-comments-plugin --test-options="-j1 --rerun-update" || cabal test hls-haddock-comments-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-haddock-comments-plugin --test-options="-j1 --rerun"
164172

165-
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
173+
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
166174
name: Test hls-splice-plugin
167175
run: cabal test hls-splice-plugin --test-options="-j1 --rerun-update" || cabal test hls-splice-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-splice-plugin --test-options="-j1 --rerun"
168176

169-
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
177+
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
170178
name: Test hls-stylish-haskell-plugin
171179
run: cabal test hls-stylish-haskell-plugin --test-options="-j1 --rerun-update" || cabal test hls-stylish-haskell-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-stylish-haskell-plugin --test-options="-j1 --rerun"
172180

173-
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
181+
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
174182
name: Test hls-fourmolu-plugin
175183
run: cabal test hls-fourmolu-plugin --test-options="-j1 --rerun-update" || cabal test hls-fourmolu-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-fourmolu-plugin --test-options="-j1 --rerun"
176184

177-
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
185+
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
178186
name: Test hls-tactics-plugin test suite
179187
run: cabal test hls-tactics-plugin --test-options="-j1 --rerun-update" || cabal test hls-tactics-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-tactics-plugin --test-options="-j1 --rerun"
180188

181-
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
189+
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
182190
name: Test hls-refine-imports-plugin test suite
183191
run: cabal test hls-refine-imports-plugin --test-options="-j1 --rerun-update" || cabal test hls-refine-imports-plugin --test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-refine-imports-plugin --test-options="-j1 --rerun"

cabal-ghc901.project

+153
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
packages:
2+
./
3+
./hie-compat
4+
./shake-bench
5+
./hls-graph
6+
./ghcide
7+
./hls-plugin-api
8+
./hls-test-utils
9+
-- ./plugins/hls-tactics-plugin
10+
-- ./plugins/hls-brittany-plugin
11+
-- ./plugins/hls-stylish-haskell-plugin
12+
-- ./plugins/hls-fourmolu-plugin
13+
./plugins/hls-class-plugin
14+
./plugins/hls-eval-plugin
15+
./plugins/hls-explicit-imports-plugin
16+
./plugins/hls-refine-imports-plugin
17+
./plugins/hls-hlint-plugin
18+
./plugins/hls-retrie-plugin
19+
./plugins/hls-haddock-comments-plugin
20+
-- ./plugins/hls-splice-plugin
21+
./plugins/hls-floskell-plugin
22+
./plugins/hls-pragmas-plugin
23+
./plugins/hls-module-name-plugin
24+
-- ./plugins/hls-ormolu-plugin
25+
tests: true
26+
27+
package *
28+
ghc-options: -haddock
29+
test-show-details: direct
30+
31+
source-repository-package
32+
type: git
33+
location: https://github.com/jwaldmann/blaze-textual.git
34+
tag: d8ee6cf80e27f9619d621c936bb4bda4b99a183f
35+
-- https://github.com/jwaldmann/blaze-textual/commit/d8ee6cf80e27f9619d621c936bb4bda4b99a183f
36+
-- https://github.com/bos/blaze-textual/issues/13
37+
38+
source-repository-package
39+
type: git
40+
location: https://github.com/mithrandi/czipwith.git
41+
tag: b6245884ae83e00dd2b5261762549b37390179f8
42+
-- https://github.com/lspitzner/czipwith/pull/2
43+
44+
45+
source-repository-package
46+
type: git
47+
location: https://github.com/jneira/hie-bios/
48+
tag: 9b1445ab5efcabfad54043fc9b8e50e9d8c5bbf3
49+
-- https://github.com/mpickering/hie-bios/pull/285
50+
51+
source-repository-package
52+
type: git
53+
location: https://github.com/hsyl20/ghc-api-compat
54+
tag: 6178d75772c7d923918dfffa0b1f503dfb36d0a6
55+
56+
source-repository-package
57+
type: git
58+
location: https://github.com/anka-213/th-extras
59+
tag: 57a97b4df128eb7b360e8ab9c5759392de8d1659
60+
-- https://github.com/mokus0/th-extras/pull/8
61+
-- https://github.com/mokus0/th-extras/issues/7
62+
63+
source-repository-package
64+
type: git
65+
location: https://github.com/anka-213/dependent-sum
66+
tag: 8cf4c7fbc3bfa2be475a17bb7c94a1e1e9a830b5
67+
subdir: dependent-sum-template
68+
-- https://github.com/obsidiansystems/dependent-sum/pull/57
69+
70+
source-repository-package
71+
type: git
72+
location: https://github.com/anka-213/HieDb
73+
tag: a3f7521f6c5af1b977040cce09c8f7354f8984eb
74+
-- https://github.com/wz1000/HieDb/pull/31
75+
76+
source-repository-package
77+
type: git
78+
location: https://github.com/anka-213/lsp
79+
tag: tag-ghc-9.0.1-without-pr-326
80+
subdir: lsp-types
81+
subdir: lsp
82+
subdir: lsp-test
83+
-- https://github.com/haskell/lsp/pull/312
84+
85+
source-repository-package
86+
type: git
87+
location: https://github.com/diagrams/active
88+
tag: ca23431a8dfa013992f9164ccc882a3277361f17
89+
-- https://github.com/diagrams/active/pull/36
90+
91+
write-ghc-environment-files: never
92+
93+
index-state: 2021-05-21T05:01:41Z
94+
95+
constraints:
96+
-- Diagrams doesn't support optparse-applicative >= 0.16 yet
97+
optparse-applicative < 0.16
98+
-- These plugins doesn't work on GHC9 yet
99+
, haskell-language-server -brittany -class -eval -fourmolu -modulename -ormolu -splice -stylishhaskell -tactic -refineImports
100+
101+
102+
allow-newer:
103+
-- -- Broken on ghc9, but let's pretend it's not so we can build the other things
104+
-- brittany:base,
105+
-- brittany:ghc,
106+
-- brittany:ghc-boot-th,
107+
-- butcher:base,
108+
-- fourmolu:ghc-lib-parser,
109+
-- ormolu:ghc-lib-parser,
110+
-- stylish-haskell:ghc-lib-parser,
111+
-- stylish-haskell:Cabal,
112+
-- multistate:base,
113+
-- ghc-source-gen:ghc,
114+
115+
active:base,
116+
assoc:base,
117+
cryptohash-md5:base,
118+
cryptohash-sha1:base,
119+
constraints-extras:template-haskell,
120+
data-tree-print:base,
121+
deepseq:base,
122+
dependent-sum:some,
123+
dependent-sum:constraints,
124+
diagrams-contrib:base,
125+
diagrams-contrib:lens,
126+
diagrams-contrib:random,
127+
diagrams-core:base,
128+
diagrams-core:lens,
129+
diagrams-lib:base,
130+
diagrams-lib:lens,
131+
diagrams-postscript:base,
132+
diagrams-postscript:lens,
133+
diagrams-svg:base,
134+
diagrams-svg:lens,
135+
dual-tree:base,
136+
-- Does this make any sense?
137+
entropy:Cabal,
138+
force-layout:base,
139+
force-layout:lens,
140+
floskell:ghc-prim,
141+
floskell:base,
142+
hashable:base,
143+
hslogger:base,
144+
monoid-extras:base,
145+
newtype-generics:base,
146+
parallel:base,
147+
regex-base:base,
148+
regex-tdfa:base,
149+
statestack:base,
150+
svg-builder:base,
151+
these:base,
152+
time-compat:base
153+

cabal.project

+43-12
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,47 @@ write-ghc-environment-files: never
3232

3333
index-state: 2021-05-21T05:01:41Z
3434

35+
constraints:
36+
-- Diagrams doesn't support optparse-applicative >= 0.16 yet
37+
optparse-applicative < 0.16
38+
3539
allow-newer:
36-
active:base,
37-
data-tree-print:base,
38-
diagrams-contrib:base,
39-
diagrams-core:base,
40-
diagrams-lib:base,
41-
diagrams-postscript:base,
42-
diagrams-svg:base,
43-
dual-tree:base,
44-
force-layout:base,
45-
monoid-extras:base,
46-
statestack:base,
47-
svg-builder:base
40+
active:base,
41+
assoc:base,
42+
cryptohash-md5:base,
43+
cryptohash-sha1:base,
44+
constraints-extras:template-haskell,
45+
data-tree-print:base,
46+
deepseq:base,
47+
dependent-sum:some,
48+
dependent-sum:constraints,
49+
diagrams-contrib:base,
50+
diagrams-contrib:lens,
51+
diagrams-contrib:random,
52+
diagrams-core:base,
53+
diagrams-core:lens,
54+
diagrams-lib:base,
55+
diagrams-lib:lens,
56+
diagrams-postscript:base,
57+
diagrams-postscript:lens,
58+
diagrams-svg:base,
59+
diagrams-svg:lens,
60+
dual-tree:base,
61+
-- Does this make any sense?
62+
entropy:Cabal,
63+
force-layout:base,
64+
force-layout:lens,
65+
floskell:ghc-prim,
66+
floskell:base,
67+
hashable:base,
68+
hslogger:base,
69+
monoid-extras:base,
70+
newtype-generics:base,
71+
parallel:base,
72+
regex-base:base,
73+
regex-tdfa:base,
74+
statestack:base,
75+
svg-builder:base,
76+
these:base,
77+
time-compat:base
78+

ghcide/bench/lib/Experiments.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ configP =
204204
<*> option auto (long "timeout" <> value 60 <> help "timeout for waiting for a ghcide response")
205205
<*> ( GetPackage <$> strOption (long "example-package-name" <> value "Cabal")
206206
<*> (some moduleOption <|> pure ["Distribution/Simple.hs"])
207-
<*> option versionP (long "example-package-version" <> value (makeVersion [3,2,0,0]))
207+
<*> option versionP (long "example-package-version" <> value (makeVersion [3,4,0,0]))
208208
<|>
209209
UsePackage <$> strOption (long "example-path")
210210
<*> some moduleOption

ghcide/ghcide.cabal

+4-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description:
1313
A library for building Haskell IDE's on top of the GHC API.
1414
homepage: https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme
1515
bug-reports: https://github.com/haskell/haskell-language-server/issues
16-
tested-with: GHC == 8.6.4 || == 8.6.5 || == 8.8.2 || == 8.8.3 || == 8.8.4 || == 8.10.2 || == 8.10.3 || == 8.10.4
16+
tested-with: GHC == 8.6.4 || == 8.6.5 || == 8.8.2 || == 8.8.3 || == 8.8.4 || == 8.10.2 || == 8.10.3 || == 8.10.4 || == 9.0.1
1717
extra-source-files: README.md CHANGELOG.md
1818
test/data/**/*.project
1919
test/data/**/*.cabal
@@ -59,7 +59,7 @@ library
5959
hie-compat ^>= 0.1.0.0,
6060
hls-plugin-api ^>= 1.1.0.0,
6161
lens,
62-
hiedb == 0.3.0.1,
62+
hiedb == 0.3.0.*,
6363
lsp-types == 1.2.*,
6464
lsp == 1.2.*,
6565
mtl,
@@ -95,8 +95,9 @@ library
9595
ghc-boot-th,
9696
ghc-boot,
9797
ghc >= 8.6,
98-
ghc-check >=0.5.0.1,
98+
ghc-check >=0.5.0.4,
9999
ghc-paths,
100+
ghc-api-compat,
100101
cryptohash-sha1 >=0.11.100 && <0.12,
101102
hie-bios >= 0.7.1 && < 0.8.0,
102103
implicit-hie-cradle >= 0.3.0.2 && < 0.4,

0 commit comments

Comments
 (0)