summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--ghc-exactprint.cabal2
-rw-r--r--src/Language/Haskell/GHC/ExactPrint/Parsers.hs4
3 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e8872c8..ad19f6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,5 @@
+2018-09-23 v0.5.8.1
+ * Sort out MonadFail usage for GHC 8.6.1
2018-09-12 v0.5.8.0
* Disable use of .ghc.env files when parsing. By @lspitzner
2018-08-11 v0.5.7.0
diff --git a/ghc-exactprint.cabal b/ghc-exactprint.cabal
index 76f368a..5512574 100644
--- a/ghc-exactprint.cabal
+++ b/ghc-exactprint.cabal
@@ -1,5 +1,5 @@
name: ghc-exactprint
-version: 0.5.8.0
+version: 0.5.8.1
synopsis: ExactPrint for GHC
description: Using the API Annotations available from GHC 7.10.2, this
library provides a means to round trip any code that can
diff --git a/src/Language/Haskell/GHC/ExactPrint/Parsers.hs b/src/Language/Haskell/GHC/ExactPrint/Parsers.hs
index 8feb2b2..223abf1 100644
--- a/src/Language/Haskell/GHC/ExactPrint/Parsers.hs
+++ b/src/Language/Haskell/GHC/ExactPrint/Parsers.hs
@@ -302,7 +302,7 @@ initDynFlags file = do
-- Turn this on last to avoid T10942
let dflags2 = dflags1 `GHC.gopt_set` GHC.Opt_KeepRawTokenStream
-- Prevent parsing of .ghc.environment.* "package environment files"
- (dflags3, [], []) <- GHC.parseDynamicFlagsCmdLine
+ (dflags3, _, _) <- GHC.parseDynamicFlagsCmdLine
dflags2
[GHC.noLoc "-hide-all-packages"]
_ <- GHC.setSessionDynFlags dflags3
@@ -328,7 +328,7 @@ initDynFlagsPure fp s = do
-- Turn this on last to avoid T10942
let dflags2 = dflags1 `GHC.gopt_set` GHC.Opt_KeepRawTokenStream
-- Prevent parsing of .ghc.environment.* "package environment files"
- (dflags3, [], []) <- GHC.parseDynamicFlagsCmdLine
+ (dflags3, _, _) <- GHC.parseDynamicFlagsCmdLine
dflags2
[GHC.noLoc "-hide-all-packages"]
_ <- GHC.setSessionDynFlags dflags3