#5274: Bad error message
---------------------------------+------------------------------------------
    Reporter:  augustss          |       Owner:                
        Type:  bug               |      Status:  new           
    Priority:  normal            |   Component:  libraries/base
     Version:  7.1               |    Keywords:                
    Testcase:                    |   Blockedby:                
          Os:  Unknown/Multiple  |    Blocking:                
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown  
---------------------------------+------------------------------------------
 From Data.Data
 {{{
 dataTypeConstrs dt = case datarep dt of
                         (AlgRep cons) -> cons
                         _ -> error "dataTypeConstrs"
 }}}
 That error message is a criminal offense.  It should at a minimum say what
 module it comes from.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5274>
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