In the Compiling/Skipping message, print ModuleNames not Modules
authorSimon Marlow <simonmar@microsoft.com>
Wed, 23 Aug 2006 09:52:25 +0000 (09:52 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 23 Aug 2006 09:52:25 +0000 (09:52 +0000)
These modules are always home modules, by definition, so the package
name is redundant.

compiler/main/HscTypes.lhs

index 9bc5fb1..793b56d 100644 (file)
@@ -1064,7 +1064,7 @@ showModMsg target recomp mod_summary
                       _other     -> text (msObjFilePath mod_summary),
                    char ')'])
  where 
-    mod     = ms_mod mod_summary 
+    mod     = moduleName (ms_mod mod_summary)
     mod_str = showSDoc (ppr mod) ++ hscSourceString (ms_hsc_src mod_summary)
 \end{code}