Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stack-8.2.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ extra-deps:
- haskell-lsp-0.13.0.0
- haskell-lsp-types-0.13.0.0@rev:2
- hlint-2.0.11
- hsimport-0.8.8
- hsimport-0.10.0
- lsp-test-0.5.2.3
- monad-dijkstra-0.1.1.2
- mtl-2.2.2
Expand Down
2 changes: 1 addition & 1 deletion stack-8.4.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extra-deps:
- haskell-src-exts-util-0.2.5
- hlint-2.1.17
- hoogle-5.0.17.6
- hsimport-0.8.8
- hsimport-0.10.0
- lsp-test-0.5.2.3
- monad-dijkstra-0.1.1.2
- pretty-show-1.8.2
Expand Down
2 changes: 1 addition & 1 deletion stack-8.4.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ extra-deps:
- haskell-src-exts-util-0.2.5
- hlint-2.1.17
- hoogle-5.0.17.6
- hsimport-0.8.8
- hsimport-0.10.0
- lsp-test-0.5.2.3
- monad-dijkstra-0.1.1.2
- pretty-show-1.8.2
Expand Down
2 changes: 1 addition & 1 deletion stack-8.4.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ extra-deps:
- haskell-src-exts-util-0.2.5
- hlint-2.1.17
- hoogle-5.0.17.6
- hsimport-0.8.8
- hsimport-0.10.0
- lsp-test-0.5.2.3
- monad-dijkstra-0.1.1.2
- optparse-simple-0.1.0
Expand Down
2 changes: 1 addition & 1 deletion stack-8.6.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ extra-deps:
- haskell-src-exts-util-0.2.5
- hlint-2.1.17
- hoogle-5.0.17.6
- hsimport-0.8.8
- hsimport-0.10.0
- lsp-test-0.5.2.3
- monad-dijkstra-0.1.1.2
- monad-memo-0.4.1
Expand Down
2 changes: 1 addition & 1 deletion stack-8.6.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extra-deps:
- haskell-src-exts-util-0.2.5
- hlint-2.1.17
- hoogle-5.0.17.6
- hsimport-0.8.8
- hsimport-0.10.0
- lsp-test-0.5.2.3
- monad-dijkstra-0.1.1.2
- monad-memo-0.4.1
Expand Down
2 changes: 1 addition & 1 deletion stack-8.6.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extra-deps:
- haskell-src-exts-util-0.2.5
- hlint-2.1.17
- hoogle-5.0.17.6
- hsimport-0.8.8
- hsimport-0.10.0
- lsp-test-0.5.2.3
- monad-dijkstra-0.1.1.2
- monad-memo-0.4.1
Expand Down
2 changes: 1 addition & 1 deletion stack-8.6.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ extra-deps:
- haskell-src-exts-1.21.0
- hlint-2.1.17
- hoogle-5.0.17.6
- hsimport-0.8.8
- hsimport-0.10.0
- lsp-test-0.5.2.3
- monad-dijkstra-0.1.1.2@rev:1
- monad-memo-0.4.1
Expand Down
2 changes: 1 addition & 1 deletion stack-8.6.5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extra-deps:
- haskell-lsp-0.13.0.0
- haskell-lsp-types-0.13.0.0
- hlint-2.1.17
- hsimport-0.8.8
- hsimport-0.10.0
- lsp-test-0.5.2.3
- monad-dijkstra-0.1.1.2@rev:1
- monad-memo-0.4.1
Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extra-deps:
- haskell-lsp-0.13.0.0
- haskell-lsp-types-0.13.0.0
- hlint-2.1.17
- hsimport-0.8.8
- hsimport-0.10.0
- lsp-test-0.5.2.3
- monad-dijkstra-0.1.1.2@rev:1
- monad-memo-0.4.1
Expand Down
3 changes: 3 additions & 0 deletions test/functional/FunctionalCodeActionsSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ spec = describe "code actions" $ do
, " )"
, "import Control.Monad ( when )"
, "import Data.Maybe ( fromMaybe )"
, "-- | Main entry point to the program"
, "main :: IO ()"
, "main ="
, " when True"
Expand All @@ -169,6 +170,7 @@ spec = describe "code actions" $ do
[ "import System.IO (stdout, hPutStrLn)"
, "import Control.Monad (when)"
, "import Data.Maybe (fromMaybe)"
, "-- | Main entry point to the program"
, "main :: IO ()"
, "main ="
, " when True"
Expand Down Expand Up @@ -568,6 +570,7 @@ hsImportSpec formatterName [e1, e2, e3] =
[ "import System.IO (stdout, hPutStrLn)"
, "import Control.Monad (when)"
, "import Data.Maybe (fromMaybe)"
, "-- | Main entry point to the program"
, "main :: IO ()"
, "main ="
, " when True"
Expand Down
1 change: 1 addition & 0 deletions test/testdata/CodeActionImportList.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-- | Main entry point to the program
main :: IO ()
main =
when True
Expand Down