mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-10-26 09:20:16 +03:00
Drop compatibility with GHC 8.6.5 (#3101)
* Drop compatibility with GHC 8.6.5 * drop a few more bits * fixup merge Co-authored-by: Javier Neira <atreyu.bbb@gmail.com>
This commit is contained in:
parent
07f14e33b3
commit
9b491f7bbf
1
.github/workflows/caching.yml
vendored
1
.github/workflows/caching.yml
vendored
@ -85,7 +85,6 @@ jobs:
|
||||
, "9.0.2"
|
||||
, "8.10.7"
|
||||
, "8.8.4"
|
||||
, "8.6.5"
|
||||
]
|
||||
os: [ "ubuntu-latest"
|
||||
, "macOS-latest"
|
||||
|
1
.github/workflows/flags.yml
vendored
1
.github/workflows/flags.yml
vendored
@ -48,7 +48,6 @@ jobs:
|
||||
, "9.0.2"
|
||||
, "8.10.7"
|
||||
, "8.8.4"
|
||||
, "8.6.5"
|
||||
]
|
||||
os: [ "ubuntu-latest"
|
||||
]
|
||||
|
1
.github/workflows/hackage.yml
vendored
1
.github/workflows/hackage.yml
vendored
@ -41,7 +41,6 @@ jobs:
|
||||
ghc: [ "9.0.2"
|
||||
, "8.10.7"
|
||||
, "8.8.4"
|
||||
, "8.6.5"
|
||||
]
|
||||
exclude:
|
||||
- ghc: "9.0.2"
|
||||
|
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@ -64,7 +64,6 @@ jobs:
|
||||
, "9.0.2"
|
||||
, "8.10.7"
|
||||
, "8.8.4"
|
||||
, "8.6.5"
|
||||
]
|
||||
os: [ "ubuntu-latest"
|
||||
, "macOS-latest"
|
||||
@ -86,9 +85,6 @@ jobs:
|
||||
- os: ubuntu-latest
|
||||
ghc: '8.8.4'
|
||||
test: true
|
||||
- os: ubuntu-latest
|
||||
ghc: '8.6.5'
|
||||
test: true
|
||||
- os: windows-latest
|
||||
ghc: '9.4.2'
|
||||
test: true
|
||||
@ -101,9 +97,6 @@ jobs:
|
||||
- os: windows-latest
|
||||
ghc: '8.10.7'
|
||||
test: true
|
||||
- os: windows-latest
|
||||
ghc: '8.6.5'
|
||||
test: true
|
||||
# only build rest of supported ghc versions for windows
|
||||
- os: windows-latest
|
||||
ghc: '8.8.4'
|
||||
|
1
.gitpod.Dockerfile
vendored
1
.gitpod.Dockerfile
vendored
@ -7,7 +7,6 @@ RUN sudo install-packages build-essential curl libffi-dev libffi7 libgmp-dev lib
|
||||
echo 'export PATH=$HOME/.cabal/bin:$HOME/.local/bin:$PATH' >> $HOME/.bashrc && \
|
||||
. /home/gitpod/.ghcup/env && \
|
||||
# Install all verions of GHC that HLS supports. Putting GHC into Docker image makes workspace start much faster.
|
||||
ghcup install ghc 8.6.5 && \
|
||||
ghcup install ghc 8.8.4 && \
|
||||
ghcup install ghc 8.10.7 && \
|
||||
ghcup install ghc 9.0.2 && \
|
||||
|
@ -1,4 +1,3 @@
|
||||
8.6.5,cabal.project
|
||||
8.8.4,cabal.project
|
||||
8.10.7,cabal.project
|
||||
9.0.2,cabal.project
|
||||
|
@ -32,7 +32,7 @@ Support status (see the support policy below for more details):
|
||||
| 8.8.4 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | full support, will be deprecated after LTS and HLS full support for ghc-9.2 |
|
||||
| 8.8.3 | [1.5.1](https://github.com/haskell/haskell-language-server/releases/1.5.1) | deprecated |
|
||||
| 8.8.2 | [1.2.0](https://github.com/haskell/haskell-language-server/releases/tag/1.2.0) | deprecated |
|
||||
| 8.6.5 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | full support, will be deprecated after LTS and HLS full suppot for ghc-9.2 |
|
||||
| 8.6.5 | [1.8.0.0](https://github.com/haskell/haskell-language-server/releases/tag/1.8.0.0) | deprecated |
|
||||
| 8.6.4 | [1.4.0](https://github.com/haskell/haskell-language-server/releases/tag/1.4.0) | deprecated |
|
||||
|
||||
GHC versions not in the list have never been supported by HLS.
|
||||
|
@ -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.5 || == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.3 || == 9.2.4
|
||||
tested-with: GHC == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.3 || == 9.2.4
|
||||
extra-source-files: README.md CHANGELOG.md
|
||||
test/data/**/*.project
|
||||
test/data/**/*.cabal
|
||||
|
@ -14,7 +14,7 @@ copyright: The Haskell IDE Team
|
||||
license: Apache-2.0
|
||||
license-file: LICENSE
|
||||
build-type: Simple
|
||||
tested-with: GHC == 8.6.5 || == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.3 || == 9.2.4
|
||||
tested-with: GHC == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.3 || == 9.2.4
|
||||
extra-source-files:
|
||||
README.md
|
||||
ChangeLog.md
|
||||
|
@ -13,9 +13,7 @@ module Development.IDE.Graph.Internal.Types where
|
||||
import Control.Applicative
|
||||
import Control.Monad.Catch
|
||||
#if __GLASGOW_HASKELL__ < 808
|
||||
-- Needed in GHC 8.6.5
|
||||
import Control.Concurrent.STM.Stats (TVar, atomically)
|
||||
import Control.Monad.Fail
|
||||
#else
|
||||
import GHC.Conc (TVar, atomically)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user