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

GHC ghc-devs at haskell.org
Tue Jun 16 14:19:46 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:
-------------------------------------+-------------------------------------

Comment (by nh2):

 @thomie, yes that looks good to me. The only thing I'd change is adding
 more detail to the error message, e.g. mentioning the `modName` and what
 the values of the two hashes are that aren't matching - that makes it much
 easier to debug what's wrong when something is wrong.

 I'll also add a comment on Github for this.

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


More information about the ghc-tickets mailing list