[GHC] #5274: Bad error message

GHC cvs-ghc at haskell.org
Fri Jun 24 20:54:54 CEST 2011


#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



More information about the Glasgow-haskell-bugs mailing list