Ticket #2467 (new bug)
orphan instance warnings are badly behaved
| Reported by: | duncan | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | _|_ |
| Component: | Compiler | Version: | 6.8.2 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.
