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

Commit 7b8c9fb

Browse files
authored
Merge pull request #1265 from fendor/hsimport-bump-version
Bump version for hsimport to 0.10.0
2 parents 33d4581 + 24def8f commit 7b8c9fb

12 files changed

+14
-10
lines changed

stack-8.2.1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extra-deps:
2323
- haskell-lsp-0.13.0.0
2424
- haskell-lsp-types-0.13.0.0@rev:2
2525
- hlint-2.0.11
26-
- hsimport-0.8.8
26+
- hsimport-0.10.0
2727
- lsp-test-0.5.2.3
2828
- monad-dijkstra-0.1.1.2
2929
- mtl-2.2.2

stack-8.4.2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extra-deps:
2525
- haskell-src-exts-util-0.2.5
2626
- hlint-2.1.17
2727
- hoogle-5.0.17.6
28-
- hsimport-0.8.8
28+
- hsimport-0.10.0
2929
- lsp-test-0.5.2.3
3030
- monad-dijkstra-0.1.1.2
3131
- pretty-show-1.8.2

stack-8.4.3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ extra-deps:
2424
- haskell-src-exts-util-0.2.5
2525
- hlint-2.1.17
2626
- hoogle-5.0.17.6
27-
- hsimport-0.8.8
27+
- hsimport-0.10.0
2828
- lsp-test-0.5.2.3
2929
- monad-dijkstra-0.1.1.2
3030
- pretty-show-1.8.2

stack-8.4.4.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ extra-deps:
2424
- haskell-src-exts-util-0.2.5
2525
- hlint-2.1.17
2626
- hoogle-5.0.17.6
27-
- hsimport-0.8.8
27+
- hsimport-0.10.0
2828
- lsp-test-0.5.2.3
2929
- monad-dijkstra-0.1.1.2
3030
- optparse-simple-0.1.0

stack-8.6.1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extra-deps:
2626
- haskell-src-exts-util-0.2.5
2727
- hlint-2.1.17
2828
- hoogle-5.0.17.6
29-
- hsimport-0.8.8
29+
- hsimport-0.10.0
3030
- lsp-test-0.5.2.3
3131
- monad-dijkstra-0.1.1.2
3232
- monad-memo-0.4.1

stack-8.6.2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extra-deps:
2222
- haskell-src-exts-util-0.2.5
2323
- hlint-2.1.17
2424
- hoogle-5.0.17.6
25-
- hsimport-0.8.8
25+
- hsimport-0.10.0
2626
- lsp-test-0.5.2.3
2727
- monad-dijkstra-0.1.1.2
2828
- monad-memo-0.4.1

stack-8.6.3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extra-deps:
2222
- haskell-src-exts-util-0.2.5
2323
- hlint-2.1.17
2424
- hoogle-5.0.17.6
25-
- hsimport-0.8.8
25+
- hsimport-0.10.0
2626
- lsp-test-0.5.2.3
2727
- monad-dijkstra-0.1.1.2
2828
- monad-memo-0.4.1

stack-8.6.4.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ extra-deps:
2121
- haskell-src-exts-1.21.0
2222
- hlint-2.1.17
2323
- hoogle-5.0.17.6
24-
- hsimport-0.8.8
24+
- hsimport-0.10.0
2525
- lsp-test-0.5.2.3
2626
- monad-dijkstra-0.1.1.2@rev:1
2727
- monad-memo-0.4.1

stack-8.6.5.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extra-deps:
2222
- haskell-lsp-0.13.0.0
2323
- haskell-lsp-types-0.13.0.0
2424
- hlint-2.1.17
25-
- hsimport-0.8.8
25+
- hsimport-0.10.0
2626
- lsp-test-0.5.2.3
2727
- monad-dijkstra-0.1.1.2@rev:1
2828
- monad-memo-0.4.1

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extra-deps:
2222
- haskell-lsp-0.13.0.0
2323
- haskell-lsp-types-0.13.0.0
2424
- hlint-2.1.17
25-
- hsimport-0.8.8
25+
- hsimport-0.10.0
2626
- lsp-test-0.5.2.3
2727
- monad-dijkstra-0.1.1.2@rev:1
2828
- monad-memo-0.4.1

test/functional/FunctionalCodeActionsSpec.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ spec = describe "code actions" $ do
145145
, " )"
146146
, "import Control.Monad ( when )"
147147
, "import Data.Maybe ( fromMaybe )"
148+
, "-- | Main entry point to the program"
148149
, "main :: IO ()"
149150
, "main ="
150151
, " when True"
@@ -169,6 +170,7 @@ spec = describe "code actions" $ do
169170
[ "import System.IO (stdout, hPutStrLn)"
170171
, "import Control.Monad (when)"
171172
, "import Data.Maybe (fromMaybe)"
173+
, "-- | Main entry point to the program"
172174
, "main :: IO ()"
173175
, "main ="
174176
, " when True"
@@ -568,6 +570,7 @@ hsImportSpec formatterName [e1, e2, e3] =
568570
[ "import System.IO (stdout, hPutStrLn)"
569571
, "import Control.Monad (when)"
570572
, "import Data.Maybe (fromMaybe)"
573+
, "-- | Main entry point to the program"
571574
, "main :: IO ()"
572575
, "main ="
573576
, " when True"

test/testdata/CodeActionImportList.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
-- | Main entry point to the program
12
main :: IO ()
23
main =
34
when True

0 commit comments

Comments
 (0)