[GHC] #5951: Panic on Malformed instance A => B => C

GHC cvs-ghc at haskell.org
Thu Jul 5 09:55:51 CEST 2012


#5951: Panic on Malformed instance A => B => C
---------------------------------------+------------------------------------
  Reporter:  br1                       |          Owner:         
      Type:  bug                       |         Status:  closed 
  Priority:  normal                    |      Milestone:  7.6.1  
 Component:  Compiler                  |        Version:  7.4.2  
Resolution:  fixed                     |       Keywords:         
        Os:  Unknown/Multiple          |   Architecture:  x86    
   Failure:  Compile-time crash        |     Difficulty:  Unknown
  Testcase:  rename/should_fail/T5951  |      Blockedby:         
  Blocking:                            |        Related:         
---------------------------------------+------------------------------------

Comment(by simonpj):

 Yes, it's fine in HEAD
 {{{
 simonpj at cam-05-unx:~/tmp$ ghc-stage2 -c Foo.hs

 Foo.hs:9:10: Malformed instance: Clazz a -> Clazz (Bool -> a)
 }}}

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



More information about the Glasgow-haskell-bugs mailing list