#2674: ghc panic TcPat.checkArgs
------------------------------+---------------------------------------------
 Reporter:  rwbarton          |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Milestone:                  
Component:  Compiler          |        Version:  6.8.2           
 Severity:  normal            |     Resolution:                  
 Keywords:                    |     Difficulty:  Unknown         
 Testcase:                    |   Architecture:  Unknown/Multiple
       Os:  Unknown/Multiple  |  
------------------------------+---------------------------------------------
Comment (by rwbarton):

 A function declaration with no clauses causes the same panic.  (Maybe this
 is handled by the same code.)

 {{{
 {-# LANGUAGE TemplateHaskell #-}
 import Language.Haskell.TH
 $(return [FunD (mkName "foo") []])
 }}}

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