Skip to content

Commit 7773572

Browse files
fendorsoulomoon
authored and
Jaro Reinders
committed
Enable hls-stan-plugin for GHC 9.10.1 (#4437)
Co-authored-by: soulomoon <fwy996602672@gmail.com>
1 parent 27808bc commit 7773572

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ jobs:
160160
name: Test hls-splice-plugin
161161
run: cabal test hls-splice-plugin-tests || cabal test hls-splice-plugin-tests
162162

163-
# TODO enable when it supports 9.10
164-
- if: matrix.test && matrix.ghc != '9.10'
163+
- if: matrix.test
165164
name: Test hls-stan-plugin
166165
run: cabal test hls-stan-plugin-tests || cabal test hls-stan-plugin-tests
167166

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ packages:
88
./hls-test-utils
99

1010

11-
index-state: 2024-08-22T00:00:00Z
11+
index-state: 2024-10-21T00:00:00Z
1212

1313
tests: True
1414
test-show-details: direct

docs/support/plugin-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ For example, a plugin to provide a formatter which has itself been abandoned has
6565
| `hls-overloaded-record-dot-plugin` | 2 | |
6666
| `hls-semantic-tokens-plugin` | 2 | |
6767
| `hls-floskell-plugin` | 3 | 9.10.1 |
68-
| `hls-stan-plugin` | 3 | 9.10.1 |
68+
| `hls-stan-plugin` | 3 | |
6969
| `hls-retrie-plugin` | 3 | 9.10.1 |
7070
| `hls-splice-plugin` | 3 | 9.10.1 |

haskell-language-server.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -794,13 +794,13 @@ flag stan
794794
manual: True
795795

796796
common stan
797-
if flag(stan) && impl(ghc < 9.10.0)
797+
if flag(stan)
798798
build-depends: haskell-language-server:hls-stan-plugin
799799
cpp-options: -Dhls_stan
800800

801801
library hls-stan-plugin
802802
import: defaults, pedantic, warnings
803-
if flag(stan) && impl(ghc < 9.10.0)
803+
if flag(stan)
804804
buildable: True
805805
else
806806
buildable: False
@@ -828,7 +828,7 @@ library hls-stan-plugin
828828

829829
test-suite hls-stan-plugin-tests
830830
import: defaults, pedantic, test-defaults, warnings
831-
if flag(stan) && impl(ghc < 9.10.0)
831+
if flag(stan)
832832
buildable: True
833833
else
834834
buildable: False

0 commit comments

Comments
 (0)