[GHC] #2394: deriving instance Data (a->b) leads to 'impossible' error instead of "can't do" message

GHC trac at galois.com
Wed Jun 25 12:04:50 EDT 2008


#2394: deriving instance Data (a->b) leads to 'impossible' error instead of "can't
do" message
----------------------------------------+-----------------------------------
 Reporter:  claus                       |          Owner:         
     Type:  bug                         |         Status:  closed 
 Priority:  normal                      |      Milestone:         
Component:  Compiler                    |        Version:  6.9    
 Severity:  normal                      |     Resolution:  fixed  
 Keywords:                              |     Difficulty:  Unknown
 Testcase:  deriving/should_fail/T2394  |   Architecture:  Unknown
       Os:  Unknown                     |  
----------------------------------------+-----------------------------------
Changes (by simonpj):

  * testcase:  => deriving/should_fail/T2394
  * difficulty:  => Unknown
  * status:  new => closed
  * resolution:  => fixed

Comment:

 Yes, this should fail gracefully, thanks.  Fixed by
 {{{
 Wed Jun 25 17:02:04 BST 2008  simonpj at microsoft.com
   * Fix Trac #2394: test for non-algebraic types in standalone deriving
 }}}

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2394#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list