Skip to content

Commit

Permalink
Move session loading logic into ghcide library (#697)
Browse files Browse the repository at this point in the history
* Split out the session loading logic into a sublibrary

This way haskell-language-server can also reuse this logic.
Note that this sublibrary is public so it requires cabal-version: 3.0
Part of the work towards #478

* Move Development.IDE.Session into ghcide itself

Sublibraries do not seem to play well. Hide this behind the ghc-lib flag
so that the Haskell specific hie-bios stuff can be disabled

Note that we need to put the template-haskell part of this module into a
separate module because of an access exception when compiling with
Stack, GHC 8.10.1 and Windows.
  • Loading branch information
lukel97 authored Jul 27, 2020
1 parent 4890baf commit 4121937
Show file tree
Hide file tree
Showing 4 changed files with 680 additions and 619 deletions.
Loading

0 comments on commit 4121937

Please sign in to comment.