diff options
Diffstat (limited to 'src/Main.hs')
-rw-r--r-- | src/Main.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Main.hs b/src/Main.hs index 779da8f2..77bcbdbb 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -104,11 +104,10 @@ main = handleTopExceptions $ do libDir <- handleEasyFlags flags fileArgs -- initialize GHC - let ghcFlags = getGhcFlags flags - (session, dynflags) <- startGhc libDir ghcFlags + (session, dynflags) <- startGhc libDir (ghcFlags flags) -- get packages via --read-interface - packages <- readInterfaceFiles (getIfacePairs flags) + packages <- readInterfaceFiles (ifacePairs flags) -- typecheck argument modules using GHC modules <- typecheckFiles session fileArgs |