#2467: orphan instance warnings are badly behaved
------------------------+---------------------------------------------------
    Reporter:  duncan   |       Owner:          
        Type:  bug      |      Status:  new     
    Priority:  normal   |   Component:  Compiler
     Version:  6.8.2    |    Severity:  normal  
    Keywords:           |    Testcase:          
Architecture:  Unknown  |          Os:  Unknown 
------------------------+---------------------------------------------------
 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
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2467>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to