Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ghc 9.0.1 support for ghcide #1649

Merged
merged 93 commits into from
Jun 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
0953809
hie-compat: Add basic support for ghc-9.0.1
anka-213 Mar 29, 2021
4d90153
hie-compat: Remove dependency on ghc-api-compat
anka-213 Mar 29, 2021
d21dc8f
hie-compat: Add more backwards compatability
anka-213 Mar 30, 2021
24d0de6
Import a bunch of upstream ghc9 fixes
anka-213 Mar 30, 2021
f915936
cabal.project: allow-newer: *:*
anka-213 Mar 30, 2021
4ceaed7
Add more upstream fixes
anka-213 Mar 30, 2021
46d7e09
Bump patch of ghc-check
anka-213 Mar 30, 2021
49fc015
ghcide: Add basic support for GHC-9.0.1
anka-213 Apr 1, 2021
66d66ad
ghcide: Fix backwards compatability with ghc-8.8.4
anka-213 Apr 1, 2021
172e9e3
ghc9-ghcide: Fix some more issues that caused runtime errors
anka-213 Apr 1, 2021
9f7331c
Restore initDynLinker for older versions of ghc
anka-213 Apr 1, 2021
9cb1523
Fix ghc-8.6.5 compatability
anka-213 Apr 2, 2021
ad42b06
Fix completion test failures for ghc9
anka-213 Apr 6, 2021
2f7b711
Ghc-check now supports ghc-9.0.1
anka-213 Apr 7, 2021
8a257d0
Retrie now supports ghc-9.0.1
anka-213 Apr 7, 2021
c7be526
Restore retrie orphans
anka-213 Apr 7, 2021
e0121f7
tests: Ghc9 shows [Char] as String by default
anka-213 Apr 7, 2021
4874ba4
tests: Ghc9 shows TH-errors after the dollar sign
anka-213 Apr 7, 2021
de2f62e
Fix two more test failures
anka-213 Apr 8, 2021
617d555
ghc9: Fix "Remove redundant imports" code action
anka-213 Apr 8, 2021
c34d1ec
ghcide-tests: Show errors where they are caused
anka-213 Apr 8, 2021
843b7fe
Only use nub on SrcSpan for ghc>=9
anka-213 Apr 8, 2021
b7abb3e
Remove more CPP pragmas
anka-213 Apr 12, 2021
98bd5ab
Remove a bit more CPP
anka-213 Apr 12, 2021
365a4ad
Update stack files to support new versions
anka-213 Apr 12, 2021
11dee81
Use the version of retire on hackage
anka-213 Apr 12, 2021
ca1fada
Don't use allow-newer: *:*
anka-213 Apr 12, 2021
5e419b1
ghcide-tests: Enable test no longer broken in ghc9
anka-213 Apr 12, 2021
1d0ee66
Update hiedb version for ghcide
anka-213 Apr 12, 2021
aa71c81
Adjust for a minor change in test output for ghc9
anka-213 Apr 13, 2021
38430fe
Fix benchmark test for ghc9
anka-213 Apr 13, 2021
9ed74dd
Mark minor issues as broken for ghc9
anka-213 Apr 13, 2021
480e67a
haddock-comments-plugin: Ghc9 support
anka-213 Apr 13, 2021
410af45
hls-eval-plugin: Partial ghc9 support
anka-213 Apr 13, 2021
78f1380
WIP: hls-eval-plugin: Partial ghc9 support
anka-213 Apr 13, 2021
10a0d7e
hls-explicit-imports-plugin: Add ghc9 support
anka-213 Apr 13, 2021
e880be0
hls-retrie-plugin: Add ghc9 support
anka-213 Apr 13, 2021
de60f73
hls-hlint-plugin: Add ghc9 support
anka-213 Apr 14, 2021
48f4ac5
Fix backwards compatability of hlint plugin
anka-213 Apr 14, 2021
fc27789
Fix stack builds
anka-213 May 2, 2021
4bad466
Disable tests when their required plugins are disabled
anka-213 May 2, 2021
6ca7365
ghc9: Fix module name plugin
anka-213 May 2, 2021
3123784
Add a stack file and run tests for ghc9 in ci
anka-213 May 2, 2021
a63acbc
Add missing packages to ghc-9 stack
anka-213 May 2, 2021
64f67f2
Resolve rebase issues
anka-213 May 2, 2021
7931e2f
Allow newer for more packages so cabal stops complaining
anka-213 May 2, 2021
7812a9b
Replace MIN_GHC_API_VERSION with MIN_VERSION_ghc
anka-213 May 3, 2021
b632ac2
Merge remote-tracking branch 'origin/master' into ghc-9.0.1-with-lsp-1.2
anka-213 May 3, 2021
7da3601
Revert incorrect change to hlint code
anka-213 May 3, 2021
d434ddb
Remove remaining traces of GHC_LIB flag
anka-213 May 3, 2021
c465a1e
Add back ghc 9 to github workflow
anka-213 May 29, 2021
ddd4fea
Revert "Add back ghc 9 to github workflow"
anka-213 May 29, 2021
afef4bb
hie-compat: Add basic support for ghc-9.0.1
anka-213 Mar 29, 2021
abdd431
hie-compat: Remove dependency on ghc-api-compat
anka-213 Mar 29, 2021
b9f48d4
hie-compat: Add more backwards compatability
anka-213 Mar 30, 2021
83d8aa0
Merge remote-tracking branch 'origin/master' into ghc-9.0.1-with-lsp-1.2
anka-213 May 29, 2021
7d9a32a
Disable CI for ghc9
anka-213 May 29, 2021
70542d6
Use newer version of apply-refact
anka-213 May 29, 2021
c682d9d
Don't needlessly duplicate code from ghc
anka-213 May 29, 2021
ead87d8
hie-compat: Reexport the original version of HieBin
anka-213 May 29, 2021
d97ba29
Don't include broken "allow-newer"s
anka-213 May 29, 2021
88b4e8a
FIx stack build for ghc9
anka-213 May 29, 2021
3cedea0
Fix warning from imperfect merge commit
anka-213 May 29, 2021
660de9f
Don't needlessly duplicate code from ghc
anka-213 May 29, 2021
158b80b
hie-compat: Reexport the original version of HieBin
anka-213 May 29, 2021
8650559
Merge branch 'ghc-9.0.1' into ghc-9.0.1-with-lsp-1.2
anka-213 May 29, 2021
83cf34e
Add missing ghc-api-compat
anka-213 May 29, 2021
8e03c8d
Fix ghc9 build for ModuleName
anka-213 May 29, 2021
10bf792
Add more conditionals on flags for tests
anka-213 May 30, 2021
6c5d530
Add a separate cabal.project file for ghc9
anka-213 May 30, 2021
bb37b7b
Fix and re-enable CI for GHC9
anka-213 May 30, 2021
34a752a
Remove accidental non-breaking space
anka-213 May 30, 2021
6e8d928
Fix CI build for ghc9
anka-213 May 30, 2021
736ac16
Merge remote-tracking branch 'origin/master' into ghc-9.0.1-with-lsp-1.2
anka-213 May 30, 2021
8e9e98c
Run tests for ghc9 in CI
anka-213 May 30, 2021
7a1c651
Minor CI changes
anka-213 May 30, 2021
de075bf
Use proper values when enriching hie
anka-213 May 31, 2021
88122fb
Don't try to test hls-refine-imports-plugin on ghc9
anka-213 May 31, 2021
538e1f1
Merge branch 'master' into ghc-9.0.1-with-lsp-1.2
pepeiborra May 31, 2021
79f5fee
Update comment about ghc9 crashing on initDynLinker
anka-213 May 31, 2021
4065ac8
setSessionDynamicFlags to prevent ghc9 from crashing
anka-213 May 31, 2021
15d464e
Revert "setSessionDynamicFlags to prevent ghc9 from crashing"
anka-213 Jun 1, 2021
7f4d4ab
Simplify logic in hls-hlint-plugin.cabal
anka-213 Jun 1, 2021
7816ae6
Merge branch 'master' into ghc-9.0.1-with-lsp-1.2
pepeiborra Jun 5, 2021
51afd18
Add comment on OldRealSrcSpan
anka-213 Jun 5, 2021
a581c59
Remove source overrides for non-ghc9 builds in cabal.project
anka-213 Jun 5, 2021
0ad1de1
Remove commented out code
anka-213 Jun 5, 2021
cfaff77
Remove resolved question from comment
anka-213 Jun 5, 2021
fc35ff4
ghc9: Update to latest version of LSP per
anka-213 Jun 5, 2021
3a976cf
cabal-ghc901.project: Remove commented out code
anka-213 Jun 5, 2021
2e8d936
Update the lsp commit hash for stack as well
anka-213 Jun 5, 2021
cf298af
Merge remote-tracking branch 'origin/master' into ghc-9.0.1-with-lsp-1.2
anka-213 Jun 5, 2021
ec08957
Use a version of lsp without haskell/lsp#326
anka-213 Jun 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ jobs:
- STACK_FILE: "stack-8.10.4.yaml"
<<: *defaults

ghc-9.0.1:
environment:
- STACK_FILE: "stack-9.0.1.yaml"
<<: *defaults

ghc-default:
environment:
- STACK_FILE: "stack.yaml"
Expand All @@ -121,4 +126,5 @@ workflows:
- ghc-8.10.2
- ghc-8.10.3
- ghc-8.10.4
- ghc-9.0.1
- ghc-default
30 changes: 19 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ jobs:
strategy:
fail-fast: true
matrix:
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"]
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"]
os: [ubuntu-latest, macOS-latest]
include:
# only test supported ghc major versions
- os: ubuntu-latest
ghc: '9.0.1'
test: true
- os: ubuntu-latest
ghc: '8.10.4'
test: true
Expand Down Expand Up @@ -70,7 +73,7 @@ jobs:
uses: haskell/actions/setup@v1
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: "3.2"
cabal-version: "3.4"

- if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
run: ./fmt.sh
Expand All @@ -88,6 +91,11 @@ jobs:
echo "CABAL_STORE_DIR=~/.cabal/store" >> $GITHUB_ENV
echo "CABAL_PKGS_DIR=~/.cabal/packages" >> $GITHUB_ENV

# Needs to be before Cache Cabal so the cache can detect changes to the modified cabal.project file
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.ghc == '9.0.1' }}
name: Use modified cabal.project for ghc9
run: cp cabal-ghc901.project cabal.project

- if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
name: Cache Cabal
uses: actions/cache@v2
Expand All @@ -112,7 +120,7 @@ jobs:
run: |
sed -i.bak -e 's/haskell-language-server/hls/g' \
-e 's/haskell_language_server/hls/g' \
haskell-language-server.cabal
haskell-language-server.cabal cabal.project
sed -i.bak -e 's/Paths_haskell_language_server/Paths_hls/g' \
src/**/*.hs exe/*.hs

Expand Down Expand Up @@ -146,38 +154,38 @@ jobs:
# instances to be spun up for the poor github actions runner to handle
run: cabal test wrapper-test --test-options="-j1" || cabal test wrapper-test --test-options="-j1" || cabal test wrapper-test --test-options="-j1"

- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
name: Test hls-brittany-plugin
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"

- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
name: Test hls-class-plugin
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"

- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
name: Test hls-eval-plugin
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"

- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
name: Test hls-haddock-comments-plugin
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"

- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
name: Test hls-splice-plugin
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"

- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
name: Test hls-stylish-haskell-plugin
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"

- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
name: Test hls-fourmolu-plugin
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"

- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
name: Test hls-tactics-plugin test suite
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"

- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test }}
- if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.test && matrix.ghc != '9.0.1' }}
name: Test hls-refine-imports-plugin test suite
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"
153 changes: 153 additions & 0 deletions cabal-ghc901.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
packages:
./
./hie-compat
./shake-bench
./hls-graph
./ghcide
./hls-plugin-api
./hls-test-utils
-- ./plugins/hls-tactics-plugin
-- ./plugins/hls-brittany-plugin
-- ./plugins/hls-stylish-haskell-plugin
-- ./plugins/hls-fourmolu-plugin
./plugins/hls-class-plugin
./plugins/hls-eval-plugin
./plugins/hls-explicit-imports-plugin
./plugins/hls-refine-imports-plugin
./plugins/hls-hlint-plugin
./plugins/hls-retrie-plugin
./plugins/hls-haddock-comments-plugin
-- ./plugins/hls-splice-plugin
./plugins/hls-floskell-plugin
./plugins/hls-pragmas-plugin
./plugins/hls-module-name-plugin
-- ./plugins/hls-ormolu-plugin
tests: true

package *
ghc-options: -haddock
test-show-details: direct

source-repository-package
type: git
location: https://github.com/jwaldmann/blaze-textual.git
tag: d8ee6cf80e27f9619d621c936bb4bda4b99a183f
-- https://github.com/jwaldmann/blaze-textual/commit/d8ee6cf80e27f9619d621c936bb4bda4b99a183f
-- https://github.com/bos/blaze-textual/issues/13

source-repository-package
type: git
location: https://github.com/mithrandi/czipwith.git
tag: b6245884ae83e00dd2b5261762549b37390179f8
-- https://github.com/lspitzner/czipwith/pull/2


source-repository-package
type: git
location: https://github.com/jneira/hie-bios/
tag: 9b1445ab5efcabfad54043fc9b8e50e9d8c5bbf3
-- https://github.com/mpickering/hie-bios/pull/285

source-repository-package
type: git
location: https://github.com/hsyl20/ghc-api-compat
tag: 6178d75772c7d923918dfffa0b1f503dfb36d0a6

source-repository-package
type: git
location: https://github.com/anka-213/th-extras
tag: 57a97b4df128eb7b360e8ab9c5759392de8d1659
-- https://github.com/mokus0/th-extras/pull/8
-- https://github.com/mokus0/th-extras/issues/7

source-repository-package
type: git
location: https://github.com/anka-213/dependent-sum
tag: 8cf4c7fbc3bfa2be475a17bb7c94a1e1e9a830b5
subdir: dependent-sum-template
-- https://github.com/obsidiansystems/dependent-sum/pull/57

source-repository-package
type: git
location: https://github.com/anka-213/HieDb
tag: a3f7521f6c5af1b977040cce09c8f7354f8984eb
-- https://github.com/wz1000/HieDb/pull/31

source-repository-package
type: git
location: https://github.com/anka-213/lsp
tag: tag-ghc-9.0.1-without-pr-326
subdir: lsp-types
subdir: lsp
subdir: lsp-test
-- https://github.com/haskell/lsp/pull/312

source-repository-package
type: git
location: https://github.com/diagrams/active
tag: ca23431a8dfa013992f9164ccc882a3277361f17
-- https://github.com/diagrams/active/pull/36

write-ghc-environment-files: never

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

constraints:
-- Diagrams doesn't support optparse-applicative >= 0.16 yet
optparse-applicative < 0.16
-- These plugins doesn't work on GHC9 yet
, haskell-language-server -brittany -class -eval -fourmolu -modulename -ormolu -splice -stylishhaskell -tactic -refineImports


allow-newer:
-- -- Broken on ghc9, but let's pretend it's not so we can build the other things
-- brittany:base,
-- brittany:ghc,
-- brittany:ghc-boot-th,
-- butcher:base,
-- fourmolu:ghc-lib-parser,
-- ormolu:ghc-lib-parser,
-- stylish-haskell:ghc-lib-parser,
-- stylish-haskell:Cabal,
-- multistate:base,
-- ghc-source-gen:ghc,

active:base,
assoc:base,
cryptohash-md5:base,
cryptohash-sha1:base,
constraints-extras:template-haskell,
data-tree-print:base,
deepseq:base,
dependent-sum:some,
dependent-sum:constraints,
diagrams-contrib:base,
diagrams-contrib:lens,
diagrams-contrib:random,
diagrams-core:base,
diagrams-core:lens,
diagrams-lib:base,
diagrams-lib:lens,
diagrams-postscript:base,
diagrams-postscript:lens,
diagrams-svg:base,
diagrams-svg:lens,
dual-tree:base,
-- Does this make any sense?
entropy:Cabal,
force-layout:base,
force-layout:lens,
floskell:ghc-prim,
floskell:base,
hashable:base,
hslogger:base,
monoid-extras:base,
newtype-generics:base,
parallel:base,
regex-base:base,
regex-tdfa:base,
statestack:base,
svg-builder:base,
these:base,
time-compat:base

55 changes: 43 additions & 12 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,47 @@ write-ghc-environment-files: never

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

constraints:
-- Diagrams doesn't support optparse-applicative >= 0.16 yet
optparse-applicative < 0.16

allow-newer:
active:base,
data-tree-print:base,
diagrams-contrib:base,
diagrams-core:base,
diagrams-lib:base,
diagrams-postscript:base,
diagrams-svg:base,
dual-tree:base,
force-layout:base,
monoid-extras:base,
statestack:base,
svg-builder:base
active:base,
assoc:base,
cryptohash-md5:base,
cryptohash-sha1:base,
constraints-extras:template-haskell,
data-tree-print:base,
deepseq:base,
dependent-sum:some,
dependent-sum:constraints,
diagrams-contrib:base,
diagrams-contrib:lens,
diagrams-contrib:random,
diagrams-core:base,
diagrams-core:lens,
diagrams-lib:base,
diagrams-lib:lens,
diagrams-postscript:base,
diagrams-postscript:lens,
diagrams-svg:base,
diagrams-svg:lens,
dual-tree:base,
-- Does this make any sense?
entropy:Cabal,
force-layout:base,
force-layout:lens,
floskell:ghc-prim,
floskell:base,
hashable:base,
hslogger:base,
monoid-extras:base,
newtype-generics:base,
parallel:base,
regex-base:base,
regex-tdfa:base,
statestack:base,
svg-builder:base,
these:base,
time-compat:base

2 changes: 1 addition & 1 deletion ghcide/bench/lib/Experiments.hs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ configP =
<*> option auto (long "timeout" <> value 60 <> help "timeout for waiting for a ghcide response")
<*> ( GetPackage <$> strOption (long "example-package-name" <> value "Cabal")
<*> (some moduleOption <|> pure ["Distribution/Simple.hs"])
<*> option versionP (long "example-package-version" <> value (makeVersion [3,2,0,0]))
<*> option versionP (long "example-package-version" <> value (makeVersion [3,4,0,0]))
<|>
UsePackage <$> strOption (long "example-path")
<*> some moduleOption
Expand Down
7 changes: 4 additions & 3 deletions ghcide/ghcide.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description:
A library for building Haskell IDE's on top of the GHC API.
homepage: https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme
bug-reports: https://github.com/haskell/haskell-language-server/issues
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
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
extra-source-files: README.md CHANGELOG.md
test/data/**/*.project
test/data/**/*.cabal
Expand Down Expand Up @@ -59,7 +59,7 @@ library
hie-compat ^>= 0.1.0.0,
hls-plugin-api ^>= 1.1.0.0,
lens,
hiedb == 0.3.0.1,
hiedb == 0.3.0.*,
lsp-types == 1.2.*,
lsp == 1.2.*,
mtl,
Expand Down Expand Up @@ -95,8 +95,9 @@ library
ghc-boot-th,
ghc-boot,
ghc >= 8.6,
ghc-check >=0.5.0.1,
ghc-check >=0.5.0.4,
ghc-paths,
ghc-api-compat,
cryptohash-sha1 >=0.11.100 && <0.12,
hie-bios >= 0.7.1 && < 0.8.0,
implicit-hie-cradle >= 0.3.0.2 && < 0.4,
Expand Down
Loading