#7235: "panic!" when compiling happstack-server-7.0.4
----------------------------------------+-----------------------------------
  Reporter:  guest                      |          Owner:                  
      Type:  bug                        |         Status:  closed          
  Priority:  normal                     |      Milestone:                  
 Component:  Compiler                   |        Version:  7.4.2           
Resolution:  duplicate                  |       Keywords:                  
        Os:  Linux                      |   Architecture:  Unknown/Multiple
   Failure:  GHC rejects valid program  |     Difficulty:  Unknown         
  Testcase:                             |      Blockedby:                  
  Blocking:                             |        Related:                  
----------------------------------------+-----------------------------------

Comment(by simonpj):

 Another possiblity is that `Happstack` is generating an empty
 comprehension `CompExp[]`.  In that case, what should happen?  The pretty
 printer probably shouldn't fall over.   Maybe it should print `<<empty
 CompE>>` in the pretty-printed output?  I'll do that for now, and for the
 other call to `error` in `TH.Ppr`.

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