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

GHC ghc-devs at haskell.org
Tue Nov 4 10:37:49 UTC 2014


#9739: GHC 7.8 chokes on recursive classes
-------------------------------------+-------------------------------------
              Reporter:  bitonic     |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:  7.10.1
             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:              |
  typecheck/should_fail/T9739        |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"7c79633688238086ad60e1d23e0a424bb4eb325f/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="7c79633688238086ad60e1d23e0a424bb4eb325f"
 Fix the superclass-cycle detection code (Trac #9739)

 We were falling into an infinite loop when doing the ambiguity
 check on a class method, even though we had previously detected
 a superclass cycle.  There was code to deal with this, but it
 wasn't right.
 }}}

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


More information about the ghc-tickets mailing list