[GHC] #9739: GHC 7.8 chokes on recursive classes

GHC ghc-devs at haskell.org
Wed Oct 29 00:38:56 UTC 2014


#9739: GHC 7.8 chokes on recursive classes
-------------------------------------+-------------------------------------
              Reporter:  bitonic     |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.9
  (Type checker)                     |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:  Compile-    |  Related Tickets:
  time crash                         |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by bitonic):

 Aaaand with only two classes:

 {{{!#hs
 module Foo where

 class Class2 a => Class1 a where
   class3 :: (Class2 a) => b

 class (Class1 a) => Class2 a where
 }}}

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


More information about the ghc-tickets mailing list