Fix re-init of ghc-modi session after environment change
Using `dropSession` instead of a weird exception cludge
This commit is contained in:
@@ -28,6 +28,7 @@ module Language.Haskell.GhcMod (
|
||||
-- * Monad utilities
|
||||
, runGhcModT
|
||||
, withOptions
|
||||
, dropSession
|
||||
-- * 'GhcMod' utilities
|
||||
, boot
|
||||
, browse
|
||||
@@ -73,3 +74,4 @@ import Language.Haskell.GhcMod.Modules
|
||||
import Language.Haskell.GhcMod.Monad
|
||||
import Language.Haskell.GhcMod.PkgDoc
|
||||
import Language.Haskell.GhcMod.Types
|
||||
import Language.Haskell.GhcMod.Target
|
||||
|
||||
Reference in New Issue
Block a user