aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2010-08-26 21:40:59 +0000
committerDavid Waern <david.waern@gmail.com>2010-08-26 21:40:59 +0000
commitd830dca2ed25bb71b7c745feef715dab7de2c007 (patch)
tree61a78f63519653ab25b94872f4c65612403d4d52 /src/Main.hs
parent5a5c656c9817e1f0d83531cec4eeca38333519df (diff)
Get rid of GhcModule and related cruft
We can get everything we need directly from TypecheckedModule.
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 1192b1fb..22a649d2 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -146,6 +146,8 @@ main = handleTopExceptions $ do
renderStep flags packages []
+readPackagesAndProcessModules :: [Flag] -> [String] -> IO ([(InterfaceFile, FilePath)],
+ [Interface], LinkEnv)
readPackagesAndProcessModules flags files = do
libDir <- getGhcLibDir flags