[GHC] #10529: hpc: Improve error messages in readMix

GHC ghc-devs at haskell.org
Tue Jun 16 13:12:47 UTC 2015


#10529: hpc: Improve error messages in readMix
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                   Owner:
            Type:  bug               |                  Status:  patch
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Code Coverage     |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by thomie):

 * status:  new => patch


Comment:

 I have a patch here:
 https://github.com/ghc/packages-
 hpc/commit/eaf1906f4456765becd3b52dee0188750feab2bf

 The error messages would look like this now:
 {{{
 hpc: can not parse ./.hpc/NoParse.mix

 hpc: hash in .tix file does not match hash in ./.hpc/Main.mix

 hpc: can not find NonExistingModule in ["./.hpc"]
 }}}

 nh2: does that look alright to you?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10529#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list