aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 68214164..4d067731 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -353,7 +353,7 @@ getPackageIfaces flags verbose =
#if __GLASGOW_HASKELL__ < 603
if (not (null pkgs))
then die ("-use-package not supported; recompile Haddock with GHC 6.4 or later")
- else return ()
+ else return []
#else
do
mb_iface_details <- mapM getPkgIface pkgs