summaryrefslogtreecommitdiff
path: root/compiler/GHC/Hs/Stats.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Hs/Stats.hs')
-rw-r--r--compiler/GHC/Hs/Stats.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Hs/Stats.hs b/compiler/GHC/Hs/Stats.hs
index 5b76372f37..9d7f8e8384 100644
--- a/compiler/GHC/Hs/Stats.hs
+++ b/compiler/GHC/Hs/Stats.hs
@@ -22,7 +22,7 @@ import Data.Char
-- | Source Statistics
ppSourceStats :: Bool -> Located HsModule -> SDoc
-ppSourceStats short (L _ (HsModule _ exports imports ldecls _ _))
+ppSourceStats short (L _ (HsModule{ hsmodExports = exports, hsmodImports = imports, hsmodDecls = ldecls }))
= (if short then hcat else vcat)
(map pp_val
[("ExportAll ", export_all), -- 1 if no export list