X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fmain%2FHscStats.lhs;h=188b4f338d84d231057a22cfd6999bba88a9d1d0;hb=44d4bf2c3eff873d18e683c0629f17a228e9dfe0;hp=0327cce34ea53944151b2ba7ab16d04b04a594f8;hpb=e3dd39bf230380f02d73efc287226117bb2eb47f;p=ghc-hetmet.git diff --git a/compiler/main/HscStats.lhs b/compiler/main/HscStats.lhs index 0327cce..188b4f3 100644 --- a/compiler/main/HscStats.lhs +++ b/compiler/main/HscStats.lhs @@ -4,6 +4,13 @@ \section[GHC_Stats]{Statistics for per-module compilations} \begin{code} +{-# OPTIONS -w #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and fix +-- any warnings in the module. See +-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings +-- for details + module HscStats ( ppSourceStats ) where #include "HsVersions.h" @@ -23,7 +30,7 @@ import Util ( count ) %************************************************************************ \begin{code} -ppSourceStats short (L _ (HsModule _ exports imports ldecls _ _ _ _)) +ppSourceStats short (L _ (HsModule _ exports imports ldecls _ _ _)) = (if short then hcat else vcat) (map pp_val [("ExportAll ", export_all), -- 1 if no export list