summaryrefslogtreecommitdiff
path: root/src/Language/Haskell/GHC/ExactPrint/Parsers.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Language/Haskell/GHC/ExactPrint/Parsers.hs')
-rw-r--r--src/Language/Haskell/GHC/ExactPrint/Parsers.hs4
1 files changed, 2 insertions, 2 deletions
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