aboutsummaryrefslogtreecommitdiff
path: root/src/Documentation
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2012-09-28 10:21:32 +0200
committerDavid Waern <david.waern@gmail.com>2012-09-28 10:21:32 +0200
commitd40f783dae503a194c036f5c8272563fcca187a4 (patch)
treeb65d448812ff5709f5f507944373333865e03fc2 /src/Documentation
parent59ddaa2897ed15cef790dc47aeb00283caf81f33 (diff)
Make API buildable with GHC 7.6.
Diffstat (limited to 'src/Documentation')
-rw-r--r--src/Documentation/Haddock.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Documentation/Haddock.hs b/src/Documentation/Haddock.hs
index 60bb3147..cbdc4d61 100644
--- a/src/Documentation/Haddock.hs
+++ b/src/Documentation/Haddock.hs
@@ -70,6 +70,6 @@ createInterfaces
-> [String] -- ^ File or module names
-> IO [Interface] -- ^ Resulting list of interfaces
createInterfaces flags modules = do
- (_, ifaces, _) <- readPackagesAndProcessModules flags modules
+ (_, ifaces, _) <- withGhc' flags (readPackagesAndProcessModules flags modules)
return ifaces