2020-08-01 19:03:46 +03:00
|
|
|
resolver: lts-14.27 # Last 8.6.5
|
|
|
|
compiler: ghc-8.6.4
|
2020-01-30 02:24:19 +03:00
|
|
|
|
2020-01-30 00:15:40 +03:00
|
|
|
packages:
|
2020-12-25 01:56:57 +03:00
|
|
|
- .
|
2020-12-27 17:09:59 +03:00
|
|
|
- ./hie-compat
|
2021-04-18 18:55:12 +03:00
|
|
|
- ./hls-graph
|
2020-12-25 01:56:57 +03:00
|
|
|
- ./ghcide/
|
2020-12-28 19:45:41 +03:00
|
|
|
# - ./shake-bench
|
2020-12-25 01:56:57 +03:00
|
|
|
- ./hls-plugin-api
|
2021-03-23 13:45:45 +03:00
|
|
|
- ./hls-test-utils
|
2020-12-09 20:49:05 +03:00
|
|
|
- ./plugins/hls-class-plugin
|
2021-01-07 14:58:36 +03:00
|
|
|
- ./plugins/hls-haddock-comments-plugin
|
2020-12-25 23:36:20 +03:00
|
|
|
- ./plugins/hls-eval-plugin
|
2020-12-25 01:56:57 +03:00
|
|
|
- ./plugins/hls-explicit-imports-plugin
|
2021-04-30 05:32:19 +03:00
|
|
|
- ./plugins/hls-refine-imports-plugin
|
2020-12-09 20:49:05 +03:00
|
|
|
- ./plugins/hls-hlint-plugin
|
2020-12-25 01:56:57 +03:00
|
|
|
- ./plugins/hls-retrie-plugin
|
2021-01-05 18:34:06 +03:00
|
|
|
- ./plugins/hls-splice-plugin
|
2021-01-20 10:35:11 +03:00
|
|
|
- ./plugins/hls-tactics-plugin
|
2021-03-08 08:07:38 +03:00
|
|
|
- ./plugins/hls-brittany-plugin
|
2021-03-22 16:49:27 +03:00
|
|
|
- ./plugins/hls-stylish-haskell-plugin
|
2021-05-14 11:47:41 +03:00
|
|
|
- ./plugins/hls-floskell-plugin
|
2021-05-14 15:57:03 +03:00
|
|
|
- ./plugins/hls-fourmolu-plugin
|
2021-05-15 03:04:50 +03:00
|
|
|
- ./plugins/hls-pragmas-plugin
|
2021-05-17 20:02:52 +03:00
|
|
|
- ./plugins/hls-module-name-plugin
|
|
|
|
- ./plugins/hls-ormolu-plugin
|
2020-01-30 00:15:40 +03:00
|
|
|
|
2020-07-22 00:50:49 +03:00
|
|
|
ghc-options:
|
2020-07-20 14:19:42 +03:00
|
|
|
"$everything": -haddock
|
|
|
|
|
2020-01-30 00:15:40 +03:00
|
|
|
extra-deps:
|
2020-12-25 01:56:57 +03:00
|
|
|
- aeson-1.5.2.0
|
2021-05-24 13:51:56 +03:00
|
|
|
- apply-refact-0.9.3.0
|
2020-12-25 01:56:57 +03:00
|
|
|
- ansi-terminal-0.10.3
|
|
|
|
- base-compat-0.10.5
|
2021-05-24 13:51:56 +03:00
|
|
|
- brittany-0.13.1.2
|
2020-12-25 01:56:57 +03:00
|
|
|
- butcher-1.3.3.1
|
|
|
|
- Cabal-3.0.2.0
|
|
|
|
- cabal-plan-0.6.2.0
|
|
|
|
- clock-0.7.2
|
|
|
|
- Diff-0.4.0
|
|
|
|
- floskell-0.10.4
|
|
|
|
- fourmolu-0.3.0.0
|
|
|
|
- fuzzy-0.1.0.0
|
2021-06-10 23:22:17 +03:00
|
|
|
- # ghc-api-compat-8.6
|
|
|
|
github: hsyl20/ghc-api-compat
|
|
|
|
commit: 8fee87eac97a538dbe81ff1ab18cff10f2f9fa15
|
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 c465a1e51aaaabf56dc7ef8f7fa801ef0abf8fdc.
* 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 4065ac8394065f8aa15b1b36e0d56e3ba7762e44.
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"
https://github.com/haskell/haskell-language-server/pull/1649#discussion_r642606967
* 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>
2021-06-06 20:16:29 +03:00
|
|
|
- ghc-check-0.5.0.4
|
2020-12-25 01:56:57 +03:00
|
|
|
- ghc-events-0.13.0
|
2021-05-24 13:51:56 +03:00
|
|
|
- ghc-exactprint-0.6.4
|
2021-02-28 12:36:18 +03:00
|
|
|
- ghc-lib-8.10.4.20210206
|
|
|
|
- ghc-lib-parser-8.10.4.20210206
|
2020-12-25 22:28:27 +03:00
|
|
|
- ghc-lib-parser-ex-8.10.0.17
|
2021-07-14 22:43:17 +03:00
|
|
|
- ghc-source-gen-0.4.1.0
|
2020-12-25 01:56:57 +03:00
|
|
|
- ghc-trace-events-0.1.2.1
|
|
|
|
- haddock-api-2.22.0@rev:1
|
2021-03-20 08:42:48 +03:00
|
|
|
- haddock-library-1.10.0
|
2020-12-25 01:56:57 +03:00
|
|
|
- hashable-1.3.0.0
|
|
|
|
- heapsize-0.3.0
|
2021-05-24 13:51:56 +03:00
|
|
|
- hie-bios-0.7.5
|
2020-12-25 01:56:57 +03:00
|
|
|
- hlint-3.2.3
|
|
|
|
- HsYAML-0.2.1.0@rev:1
|
|
|
|
- HsYAML-aeson-0.2.0.0@rev:2
|
|
|
|
- implicit-hie-cradle-0.3.0.2
|
|
|
|
- implicit-hie-0.1.2.5
|
|
|
|
- indexed-profunctors-0.1
|
|
|
|
- lens-4.18
|
2021-01-31 10:51:53 +03:00
|
|
|
- megaparsec-9.0.1
|
2020-12-25 01:56:57 +03:00
|
|
|
- monad-dijkstra-0.1.1.2
|
|
|
|
- opentelemetry-0.6.1
|
|
|
|
- opentelemetry-extra-0.6.1
|
|
|
|
- optics-core-0.2
|
|
|
|
- optparse-applicative-0.15.1.0
|
|
|
|
- ormolu-0.1.4.1
|
|
|
|
- parser-combinators-1.2.1
|
|
|
|
- primitive-0.7.1.0
|
|
|
|
- refinery-0.3.0.0
|
|
|
|
- regex-base-0.94.0.0
|
|
|
|
- regex-pcre-builtin-0.95.1.1.8.43
|
|
|
|
- regex-tdfa-1.3.1.0
|
|
|
|
- retrie-0.1.1.1
|
|
|
|
- semialign-1.1
|
2021-04-19 09:34:13 +03:00
|
|
|
- shake-0.19.4
|
2020-12-25 01:56:57 +03:00
|
|
|
- stylish-haskell-0.12.2.0
|
|
|
|
- tasty-rerun-1.1.17
|
|
|
|
- temporary-1.2.1.1
|
|
|
|
- these-1.1.1.1
|
|
|
|
- type-equality-1
|
|
|
|
- topograph-1
|
2021-01-19 14:47:19 +03:00
|
|
|
- uniplate-1.6.13
|
2020-12-25 01:56:57 +03:00
|
|
|
- th-env-0.1.0.2@sha256:d8f1f37f42a8f1a22404d7d0579528af18f5dac7232cca6bdbd5117c115a0ad5,1370
|
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 c465a1e51aaaabf56dc7ef8f7fa801ef0abf8fdc.
* 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 4065ac8394065f8aa15b1b36e0d56e3ba7762e44.
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"
https://github.com/haskell/haskell-language-server/pull/1649#discussion_r642606967
* 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>
2021-06-06 20:16:29 +03:00
|
|
|
- th-compat-0.1.2@sha256:3d55de1adc542c1a870c9ada90da2fbbe5f4e8bcd3eed545a55c3df9311b32a8,2854
|
2021-01-30 14:27:32 +03:00
|
|
|
- bytestring-encoding-0.1.0.0@sha256:460b49779fbf0112e8e2f1753c1ed9131eb18827600c298f4d6bb51c4e8c1c0d,1727
|
2021-06-30 23:15:46 +03:00
|
|
|
- hiedb-0.4.0.0
|
2021-01-30 14:27:32 +03:00
|
|
|
- extra-1.7.9@sha256:f1dec740f0f2025790c540732bfd52c556ec55bde4f5dfd7cf18e22bd44ff3d0,2683
|
2021-04-01 19:44:08 +03:00
|
|
|
- lsp-1.2.0.0
|
|
|
|
- lsp-types-1.2.0.0
|
|
|
|
- lsp-test-0.14.0.0
|
2021-02-14 22:04:07 +03:00
|
|
|
- dependent-map-0.4.0.0@sha256:ca2b131046f4340a1c35d138c5a003fe4a5be96b14efc26291ed35fd08c62221,1657
|
|
|
|
- dependent-sum-0.7.1.0@sha256:5599aa89637db434431b1dd3fa7c34bc3d565ee44f0519bfbc877be1927c2531,2068
|
|
|
|
- dependent-sum-template-0.1.0.3@sha256:0bbbacdfbd3abf2a15aaf0cf2c27e5bdd159b519441fec39e1e6f2f54424adde,1682
|
|
|
|
- constraints-extras-0.3.0.2@sha256:013b8d0392582c6ca068e226718a4fe8be8e22321cc0634f6115505bf377ad26,1853
|
|
|
|
- some-1.0.1@sha256:26e5bab7276f48b25ea8660d3fd1166c0f20fd497dac879a40f408e23211f93e,2055
|
|
|
|
- unliftio-core-0.2.0.1@sha256:9b3e44ea9aacacbfc35b3b54015af450091916ac3618a41868ebf6546977659a,1082
|
|
|
|
- resourcet-1.2.3
|
2020-12-25 01:56:57 +03:00
|
|
|
|
2020-01-30 00:15:40 +03:00
|
|
|
flags:
|
2020-02-01 12:01:13 +03:00
|
|
|
haskell-language-server:
|
2020-01-30 00:15:40 +03:00
|
|
|
pedantic: true
|
2020-08-01 17:53:04 +03:00
|
|
|
retrie:
|
|
|
|
BuildExecutable: false
|
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 c465a1e51aaaabf56dc7ef8f7fa801ef0abf8fdc.
* 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 4065ac8394065f8aa15b1b36e0d56e3ba7762e44.
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"
https://github.com/haskell/haskell-language-server/pull/1649#discussion_r642606967
* 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>
2021-06-06 20:16:29 +03:00
|
|
|
# Stack doesn't support automatic flags.
|
|
|
|
hls-hlint-plugin:
|
|
|
|
hlint33: false
|
2021-06-25 23:21:58 +03:00
|
|
|
hyphenation:
|
|
|
|
embed: true
|
|
|
|
|
2020-01-30 00:15:40 +03:00
|
|
|
|
2020-12-28 18:31:52 +03:00
|
|
|
configure-options:
|
|
|
|
ghcide:
|
|
|
|
- --disable-library-for-ghci
|
|
|
|
haskell-language-server:
|
|
|
|
- --disable-library-for-ghci
|
|
|
|
heapsize:
|
|
|
|
- --disable-library-for-ghci
|
|
|
|
|
2020-01-30 00:15:40 +03:00
|
|
|
nix:
|
2020-09-27 22:52:39 +03:00
|
|
|
packages: [icu libcxx zlib]
|
2020-01-30 00:15:40 +03:00
|
|
|
|
|
|
|
concurrent-tests: false
|