hpc: Improve error messages in readMix
See https://hackage.haskell.org/package/hpc-0.6.0.2/docs/src/Trace-Hpc-Mix.html#readMix
The generic error $ "can not find " ++ modName ++ " in " ++ show dirNames
error message is used for all kinds of cases, for example when h == tixModuleHash tix
isn't true.
It would be very helpful if the error message could be specific for these cases (e.g. "hashes don't agree") instead of being a catch-all for all Nothing
s.
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Code Coverage |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | nh2 |
Operating system | |
Architecture |