[GHC] #9739: GHC 7.8 chokes on recursive classes
GHC
ghc-devs at haskell.org
Wed Oct 29 00:36:34 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):
Actually, you don't need `MultiParamTypeClasses`:
{{{#!hs
module Foo where
class Class3 a => Class1 a where
class Class2 a where
class2 :: (Class3 a) => b
class (Class1 a, Class2 a) => Class3 a where
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9739#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list