X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fhpc%2FHpcFlags.hs;h=30d46799f1fde547336ce195777effe6f5f41787;hb=a6e4ca6e55cfc3f3fd3253df69e803c8a999729a;hp=3147af8a488b7e49bb0456029bed2fbaf3d4f3a1;hpb=5f4e77a5a2ea03286b795da4051272ac7c774bd7;p=ghc-hetmet.git diff --git a/utils/hpc/HpcFlags.hs b/utils/hpc/HpcFlags.hs index 3147af8..30d4679 100644 --- a/utils/hpc/HpcFlags.hs +++ b/utils/hpc/HpcFlags.hs @@ -110,7 +110,7 @@ postInvertOpt = noArg "post-invert" "invert output; ticked becomes unticked, unt $ \ f -> f { funTotals = True } ------------------------------------------------------------------------------- -readMixWithFlags :: Flags -> TixModule -> IO Mix +readMixWithFlags :: Flags -> Either String TixModule -> IO Mix readMixWithFlags flags mod = readMix [ dir ++ "/" ++ hpcDir flags | dir <- srcDirs flags ] mod