orphan instance warnings are badly behaved
There are two problems with them:
- They do not respect -Werror. That is they are not fatal when using -Werror.
- They are ugly. They do not explain the issue or use Haskell syntax. They look like a dump of internal data structures and mention internally generated names.
Warning: orphan instances:
instance HAppS.Data.Serialize.Serialize [Distribution.Server.Types.PkgInfo]
= Distribution.Server.State.$f1
instance HAppS.Data.Serialize.Version [Distribution.Server.Types.PkgInfo]
= Distribution.Server.State.$f2
instance HAppS.Data.Serialize.Serialize [Distribution.Package.PackageIdentifier]
= Distribution.Server.State.$f3
instance HAppS.Data.Serialize.Version [Distribution.Package.PackageIdentifier]
= Distribution.Server.State.$f4
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |