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
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,3 @@
# url = https://github.com/bubba/ghc-mod.git
url = https://github.com/alanz/ghc-mod.git

[submodule "submodules/haskell-lsp"]
path = submodules/haskell-lsp
url = https://github.com/alanz/haskell-lsp.git
2 changes: 0 additions & 2 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ packages:
./submodules/ghc-mod/
./submodules/ghc-mod/core/
./submodules/ghc-mod/ghc-project-types
./submodules/haskell-lsp
./submodules/haskell-lsp/haskell-lsp-types

tests: true
6 changes: 2 additions & 4 deletions stack-8.2.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ extra-deps:
- ./submodules/ghc-mod
- ./submodules/ghc-mod/core
- ./submodules/ghc-mod/ghc-project-types
- ./submodules/haskell-lsp
- ./submodules/haskell-lsp/haskell-lsp-types

# - brittany-0.11.0.0
- butcher-1.3.1.1
Expand All @@ -22,8 +20,8 @@ extra-deps:
- ghc-exactprint-0.5.8.2
- haddock-api-2.18.1
- haddock-library-1.4.4
# - haskell-lsp-0.12.1.0
# - haskell-lsp-types-0.12.1.0
- haskell-lsp-0.12.1.0
- haskell-lsp-types-0.12.1.0
- hlint-2.0.11
- hsimport-0.8.8
- lsp-test-0.5.2.2
Expand Down
6 changes: 2 additions & 4 deletions stack-8.2.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ extra-deps:
- ./submodules/ghc-mod
- ./submodules/ghc-mod/core
- ./submodules/ghc-mod/ghc-project-types
- ./submodules/haskell-lsp
- ./submodules/haskell-lsp/haskell-lsp-types

# - brittany-0.11.0.0
- butcher-1.3.1.1
Expand All @@ -23,8 +21,8 @@ extra-deps:
- ghc-exactprint-0.5.8.2
- haddock-api-2.18.1
- haddock-library-1.4.4
# - haskell-lsp-0.12.1.0
# - haskell-lsp-types-0.12.1.0
- haskell-lsp-0.12.1.0
- haskell-lsp-types-0.12.1.0
- haskell-src-exts-1.21.0
- haskell-src-exts-util-0.2.5
- hlint-2.1.17
Expand Down
6 changes: 2 additions & 4 deletions stack-8.4.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ extra-deps:
- ./submodules/ghc-mod
- ./submodules/ghc-mod/core
- ./submodules/ghc-mod/ghc-project-types
- ./submodules/haskell-lsp
- ./submodules/haskell-lsp/haskell-lsp-types

# - brittany-0.11.0.0
- base-compat-0.9.3
Expand All @@ -21,8 +19,8 @@ extra-deps:
- ghc-exactprint-0.5.8.2
- haddock-api-2.20.0
- haddock-library-1.6.0
# - haskell-lsp-0.12.1.0
# - haskell-lsp-types-0.12.1.0
- haskell-lsp-0.12.1.0
- haskell-lsp-types-0.12.1.0
- haskell-src-exts-1.21.0
- haskell-src-exts-util-0.2.5
- hlint-2.1.17
Expand Down
6 changes: 2 additions & 4 deletions stack-8.4.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ extra-deps:
- ./submodules/ghc-mod
- ./submodules/ghc-mod/core
- ./submodules/ghc-mod/ghc-project-types
- ./submodules/haskell-lsp
- ./submodules/haskell-lsp/haskell-lsp-types

- base-compat-0.9.3
- cabal-plan-0.3.0.0
Expand All @@ -20,8 +18,8 @@ extra-deps:
- ghc-exactprint-0.5.8.2
- haddock-api-2.20.0
- haddock-library-1.6.0
# - haskell-lsp-0.12.1.0
# - haskell-lsp-types-0.12.1.0
- haskell-lsp-0.12.1.0
- haskell-lsp-types-0.12.1.0
- haskell-src-exts-1.21.0
- haskell-src-exts-util-0.2.5
- hlint-2.1.17
Expand Down
6 changes: 2 additions & 4 deletions stack-8.4.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ extra-deps:
- ./submodules/ghc-mod
- ./submodules/ghc-mod/core
- ./submodules/ghc-mod/ghc-project-types
- ./submodules/haskell-lsp
- ./submodules/haskell-lsp/haskell-lsp-types

# - brittany-0.11.0.0
- cabal-plan-0.4.0.0
Expand All @@ -20,8 +18,8 @@ extra-deps:
- ghc-exactprint-0.5.8.2
- haddock-api-2.20.0
- haddock-library-1.6.0
# - haskell-lsp-0.12.1.0
# - haskell-lsp-types-0.12.1.0
- haskell-lsp-0.12.1.0
- haskell-lsp-types-0.12.1.0
- haskell-src-exts-1.21.0
- haskell-src-exts-util-0.2.5
- hlint-2.1.17
Expand Down
6 changes: 2 additions & 4 deletions stack-8.6.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ extra-deps:
- ./submodules/ghc-mod
- ./submodules/ghc-mod/core
- ./submodules/ghc-mod/ghc-project-types
- ./submodules/haskell-lsp
- ./submodules/haskell-lsp/haskell-lsp-types

- apply-refact-0.6.0.0
- butcher-1.3.2.1
Expand All @@ -22,8 +20,8 @@ extra-deps:
- data-tree-print-0.1.0.2
- floskell-0.10.0
- haddock-api-2.21.0
# - haskell-lsp-0.12.1.0
# - haskell-lsp-types-0.12.1.0
- haskell-lsp-0.12.1.0
- haskell-lsp-types-0.12.1.0
- haskell-src-exts-1.21.0
- haskell-src-exts-util-0.2.5
- hlint-2.1.17
Expand Down
6 changes: 2 additions & 4 deletions stack-8.6.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@ extra-deps:
- ./submodules/ghc-mod
- ./submodules/ghc-mod/core
- ./submodules/ghc-mod/ghc-project-types
- ./submodules/haskell-lsp
- ./submodules/haskell-lsp/haskell-lsp-types

- butcher-1.3.2.1
- cabal-plan-0.4.0.0
- constrained-dynamic-0.1.0.0
- floskell-0.10.0
- haddock-api-2.21.0
# - haskell-lsp-0.12.1.0
# - haskell-lsp-types-0.12.1.0
- haskell-lsp-0.12.1.0
- haskell-lsp-types-0.12.1.0
- haskell-src-exts-1.21.0
- haskell-src-exts-util-0.2.5
- hlint-2.1.17
Expand Down
6 changes: 2 additions & 4 deletions stack-8.6.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@ extra-deps:
- ./submodules/ghc-mod
- ./submodules/ghc-mod/core
- ./submodules/ghc-mod/ghc-project-types
- ./submodules/haskell-lsp
- ./submodules/haskell-lsp/haskell-lsp-types

- butcher-1.3.2.1
- cabal-plan-0.4.0.0
- constrained-dynamic-0.1.0.0
- floskell-0.10.0
- haddock-api-2.21.0
# - haskell-lsp-0.12.1.0
# - haskell-lsp-types-0.12.1.0
- haskell-lsp-0.12.1.0
- haskell-lsp-types-0.12.1.0
- haskell-src-exts-1.21.0
- haskell-src-exts-util-0.2.5
- hlint-2.1.17
Expand Down
6 changes: 2 additions & 4 deletions stack-8.6.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@ extra-deps:
- ./submodules/ghc-mod
- ./submodules/ghc-mod/core
- ./submodules/ghc-mod/ghc-project-types
- ./submodules/haskell-lsp
- ./submodules/haskell-lsp/haskell-lsp-types

- butcher-1.3.2.1
- cabal-plan-0.4.0.0
- constrained-dynamic-0.1.0.0
- floskell-0.10.0
- haddock-api-2.22.0
# - haskell-lsp-0.12.1.0
# - haskell-lsp-types-0.12.1.0
- haskell-lsp-0.12.1.0
- haskell-lsp-types-0.12.1.0
- haskell-src-exts-1.21.0
- hlint-2.1.17
- hoogle-5.0.17.6
Expand Down
6 changes: 2 additions & 4 deletions stack-8.6.5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ extra-deps:
- ./submodules/ghc-mod
- ./submodules/ghc-mod/core
- ./submodules/ghc-mod/ghc-project-types
- ./submodules/haskell-lsp
- ./submodules/haskell-lsp/haskell-lsp-types

- ansi-terminal-0.8.2
- butcher-1.3.2.1
Expand All @@ -21,8 +19,8 @@ extra-deps:
- floskell-0.10.0
- ghc-exactprint-0.5.8.2
- haddock-api-2.22.0
# - haskell-lsp-0.12.1.0
# - haskell-lsp-types-0.12.1.0
- haskell-lsp-0.12.1.0
- haskell-lsp-types-0.12.1.0
- hlint-2.1.17
- hsimport-0.8.8
- lsp-test-0.5.2.2
Expand Down
6 changes: 2 additions & 4 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ extra-deps:
- ./submodules/ghc-mod
- ./submodules/ghc-mod/core
- ./submodules/ghc-mod/ghc-project-types
- ./submodules/haskell-lsp
- ./submodules/haskell-lsp/haskell-lsp-types

- ansi-terminal-0.8.2
- butcher-1.3.2.1
Expand All @@ -21,8 +19,8 @@ extra-deps:
- floskell-0.10.0
- ghc-exactprint-0.5.8.2
- haddock-api-2.22.0
# - haskell-lsp-0.12.1.0
# - haskell-lsp-types-0.12.1.0
- haskell-lsp-0.12.1.0
- haskell-lsp-types-0.12.1.0
- hlint-2.1.17
- hsimport-0.8.8
- lsp-test-0.5.2.2
Expand Down
1 change: 0 additions & 1 deletion submodules/haskell-lsp
Submodule haskell-lsp deleted from fb4524
2 changes: 1 addition & 1 deletion test/functional/DeferredSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec = do

skipMany anyNotification
hoverRsp <- message :: Session HoverResponse
liftIO $ hoverRsp ^? result . _Just . _Just . contents `shouldBe` (Just HoverContentsEmpty)
liftIO $ hoverRsp ^? result . _Just . _Just . contents `shouldBe` Nothing
liftIO $ hoverRsp ^. LSP.id `shouldBe` responseId id1

id2 <- sendRequest TextDocumentDocumentSymbol (DocumentSymbolParams doc)
Expand Down