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

GHC ghc-devs at haskell.org
Fri Oct 31 15:46:25 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 dfeuer):

 I don't understand why such a member signature was even allowed without
 `-XConstrainedClassMethods`. That's essentially a syntax error! Someone
 also noticed that `Foldable` members currently have a redundant (but
 harmless) `Foldable` constraint that I think shouldn't have been allowed
 (I'll take care of those).

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


More information about the ghc-tickets mailing list