Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 83c28a9

Browse files
authored
Merge pull request #1287 from alanz/hlint-2.1.24
Hlint 2.1.24
2 parents abdb097 + a254e72 commit 83c28a9

File tree

11 files changed

+26
-20
lines changed

11 files changed

+26
-20
lines changed

src/Haskell/Ide/Engine/Plugin/ApplyRefact.hs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE CPP #-}
12
{-# LANGUAGE DeriveAnyClass #-}
23
{-# LANGUAGE DeriveGeneric #-}
34
{-# LANGUAGE DuplicateRecordFields #-}
@@ -26,7 +27,11 @@ import Haskell.Ide.Engine.PluginUtils
2627
import Language.Haskell.Exts.SrcLoc
2728
import Language.Haskell.Exts.Parser
2829
import Language.Haskell.Exts.Extension
30+
#if (defined(MIN_VERSION_GLASGOW_HASKELL) && (MIN_VERSION_GLASGOW_HASKELL(8,4,0,0)))
31+
import Language.Haskell.HLint4 as Hlint
32+
#else
2933
import Language.Haskell.HLint3 as Hlint
34+
#endif
3035
import qualified Language.Haskell.LSP.Types as LSP
3136
import qualified Language.Haskell.LSP.Types.Lens as LSP
3237
import Refact.Apply

stack-8.4.2.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ extra-deps:
1717
- constrained-dynamic-0.1.0.0
1818
- floskell-0.10.0
1919
- ghc-exactprint-0.5.8.2
20-
- ghc-lib-parser-0.20190523
20+
- ghc-lib-parser-8.8.0.20190424
2121
- haddock-api-2.20.0
2222
- haddock-library-1.6.0
2323
- haskell-lsp-0.13.0.0
2424
- haskell-lsp-types-0.13.0.0@rev:2
2525
- haskell-src-exts-1.21.0
2626
- haskell-src-exts-util-0.2.5
27-
- hlint-2.1.22
27+
- hlint-2.1.24
2828
- hoogle-5.0.17.9
2929
- hsimport-0.10.0
3030
- lsp-test-0.5.2.3

stack-8.4.3.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ extra-deps:
1616
- constrained-dynamic-0.1.0.0
1717
- floskell-0.10.0
1818
- ghc-exactprint-0.5.8.2
19-
- ghc-lib-parser-0.20190523
19+
- ghc-lib-parser-8.8.0.20190424
2020
- haddock-api-2.20.0
2121
- haddock-library-1.6.0
2222
- haskell-lsp-0.13.0.0
2323
- haskell-lsp-types-0.13.0.0@rev:2
2424
- haskell-src-exts-1.21.0
2525
- haskell-src-exts-util-0.2.5
26-
- hlint-2.1.22
26+
- hlint-2.1.24
2727
- hoogle-5.0.17.9
2828
- hsimport-0.10.0
2929
- lsp-test-0.5.2.3

stack-8.4.4.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ extra-deps:
1616
- constrained-dynamic-0.1.0.0
1717
- floskell-0.10.0
1818
- ghc-exactprint-0.5.8.2
19-
- ghc-lib-parser-0.20190523
19+
- ghc-lib-parser-8.8.0.20190424
2020
- haddock-api-2.20.0
2121
- haddock-library-1.6.0
2222
- haskell-lsp-0.13.0.0
2323
- haskell-lsp-types-0.13.0.0
2424
- haskell-src-exts-1.21.0
2525
- haskell-src-exts-util-0.2.5
26-
- hlint-2.1.22
26+
- hlint-2.1.24
2727
- hoogle-5.0.17.9
2828
- hsimport-0.10.0
2929
- lsp-test-0.5.2.3

stack-8.6.1.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ extra-deps:
1919
- czipwith-1.0.1.1
2020
- data-tree-print-0.1.0.2
2121
- floskell-0.10.0
22-
- ghc-lib-parser-0.20190523
22+
- ghc-lib-parser-8.8.0.20190424
2323
- haddock-api-2.21.0
2424
- haskell-lsp-0.13.0.0
2525
- haskell-lsp-types-0.13.0.0
2626
- haskell-src-exts-1.21.0
2727
- haskell-src-exts-util-0.2.5
28-
- hlint-2.1.22
28+
- hlint-2.1.24
2929
- hoogle-5.0.17.9
3030
- hsimport-0.10.0
3131
- lsp-test-0.5.2.3

stack-8.6.2.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ extra-deps:
1515
- cabal-plan-0.4.0.0
1616
- constrained-dynamic-0.1.0.0
1717
- floskell-0.10.0
18-
- ghc-lib-parser-0.20190523
18+
- ghc-lib-parser-8.8.0.20190424
1919
- haddock-api-2.21.0
2020
- haskell-lsp-0.13.0.0
2121
- haskell-lsp-types-0.13.0.0
2222
- haskell-src-exts-1.21.0
2323
- haskell-src-exts-util-0.2.5
24-
- hlint-2.1.22
24+
- hlint-2.1.24
2525
- hoogle-5.0.17.9
2626
- hsimport-0.10.0
2727
- lsp-test-0.5.2.3

stack-8.6.3.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ extra-deps:
1515
- cabal-plan-0.4.0.0
1616
- constrained-dynamic-0.1.0.0
1717
- floskell-0.10.0
18-
- ghc-lib-parser-0.20190523
18+
- ghc-lib-parser-8.8.0.20190424
1919
- haddock-api-2.21.0
2020
- haskell-lsp-0.13.0.0
2121
- haskell-lsp-types-0.13.0.0
2222
- haskell-src-exts-1.21.0
2323
- haskell-src-exts-util-0.2.5
24-
- hlint-2.1.22
24+
- hlint-2.1.24
2525
- hoogle-5.0.17.9
2626
- hsimport-0.10.0
2727
- lsp-test-0.5.2.3

stack-8.6.4.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ extra-deps:
1515
- cabal-plan-0.4.0.0
1616
- constrained-dynamic-0.1.0.0
1717
- floskell-0.10.0
18-
- ghc-lib-parser-0.20190523
18+
- ghc-lib-parser-8.8.0.20190424
1919
- haddock-api-2.22.0
2020
- haskell-lsp-0.13.0.0
2121
- haskell-lsp-types-0.13.0.0
2222
- haskell-src-exts-1.21.0
23-
- hlint-2.1.22
23+
- hlint-2.1.24
2424
- hoogle-5.0.17.9
2525
- hsimport-0.10.0
2626
- lsp-test-0.5.2.3

stack-8.6.5.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ extra-deps:
1515
- cabal-plan-0.4.0.0
1616
- constrained-dynamic-0.1.0.0
1717
- floskell-0.10.0
18-
- ghc-lib-parser-0.20190523
18+
- ghc-lib-parser-8.8.0.20190424
1919
- haddock-api-2.22.0
2020
- haskell-lsp-0.13.0.0
2121
- haskell-lsp-types-0.13.0.0
2222
- haskell-src-exts-1.21.0
23-
- hlint-2.1.22
23+
- hlint-2.1.24
2424
- hsimport-0.10.0
2525
- hoogle-5.0.17.9
2626
- lsp-test-0.5.2.3

stack.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ extra-deps:
1919
- deque-0.2.7
2020
- floskell-0.10.1
2121
- ghc-exactprint-0.5.8.2
22+
- ghc-lib-parser-8.8.0.20190424
2223
- haddock-api-2.22.0
2324
- haskell-lsp-0.13.0.0
2425
- haskell-lsp-types-0.13.0.0
25-
- hlint-2.1.22
26+
- hlint-2.1.24
2627
- hsimport-0.10.0
2728
- lsp-test-0.5.2.3
2829
- monad-dijkstra-0.1.1.2@rev:1

0 commit comments

Comments
 (0)