#2597: panic! (the 'impossible' happened) (using TH)
------------------------------+---------------------------------------------
 Reporter:  jcab              |          Owner:  igloo  
     Type:  merge             |         Status:  new    
 Priority:  normal            |      Milestone:         
Component:  Template Haskell  |        Version:  6.8.3  
 Severity:  major             |     Resolution:         
 Keywords:                    |     Difficulty:  Unknown
 Testcase:                    |   Architecture:  x86    
       Os:  Windows           |  
------------------------------+---------------------------------------------
Changes (by simonpj):

  * owner:  simonpj => igloo
  * type:  bug => merge

Comment:

 Here are the patches.
 {{{
 Sat Sep 20 22:20:10 GMT Daylight Time 2008  [EMAIL PROTECTED]
   * Fix Trac #2597 (first bug): correct type checking for empty list

   The GHC front end never generates (ExplicitList []), but TH can.
   This patch makes the typechecker robust to such programs.


 Sat Sep 20 22:11:01 GMT Daylight Time 2008  [EMAIL PROTECTED]
   * Fix Trac #2597 (second bug): complain about an empty DoE block

   When converting an empty do-block from TH syntax to HsSyn,
   complain rather than crashing.
 }}}
 Ian; worth merging these across I think.  Both are small

 Simon

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