@@ -1551,14 +1551,14 @@ flag stylishHaskell
1551
1551
manual : True
1552
1552
1553
1553
common stylishHaskell
1554
- if flag(stylishHaskell) && (impl(ghc < 9.10 ) || flag(ignore-plugins-ghc-bounds))
1554
+ if flag(stylishHaskell) && (impl(ghc < 9.11 ) || flag(ignore-plugins-ghc-bounds))
1555
1555
build-depends : haskell-language-server :hls-stylish-haskell-plugin
1556
1556
cpp-options : -Dhls_stylishHaskell
1557
1557
1558
1558
library hls-stylish-haskell-plugin
1559
1559
import : defaults, pedantic, warnings
1560
1560
-- https://github.com/haskell/stylish-haskell/issues/479
1561
- if !( flag(stylishHaskell) && (impl(ghc < 9.10 ) || flag(ignore-plugins-ghc-bounds) ))
1561
+ if !flag(stylishHaskell) || (impl(ghc > 9.11 ) && ! flag(ignore-plugins-ghc-bounds))
1562
1562
buildable : False
1563
1563
exposed-modules : Ide.Plugin.StylishHaskell
1564
1564
hs-source-dirs : plugins/hls-stylish-haskell-plugin/src
@@ -1570,13 +1570,13 @@ library hls-stylish-haskell-plugin
1570
1570
, hls-plugin-api == 2.10.0.0
1571
1571
, lsp-types
1572
1572
, mtl
1573
- , stylish-haskell ^ >= 0.12 || ^ >= 0.13 || ^ >= 0.14
1573
+ , stylish-haskell >= 0.12 && < 0.16
1574
1574
, text
1575
1575
1576
1576
1577
1577
test-suite hls-stylish-haskell-plugin-tests
1578
1578
import : defaults, pedantic, test-defaults, warnings
1579
- if !( flag(stylishHaskell) && (impl(ghc < 9.10 ) || flag(ignore-plugins-ghc-bounds) ))
1579
+ if !flag(stylishHaskell) || (impl(ghc > 9.11 ) && ! flag(ignore-plugins-ghc-bounds))
1580
1580
buildable : False
1581
1581
type : exitcode-stdio-1.0
1582
1582
hs-source-dirs : plugins/hls-stylish-haskell-plugin/test
0 commit comments