[GHC] #10592: Allow cycles in class declarations

GHC ghc-devs at haskell.org
Fri Jul 10 22:06:06 UTC 2015


#10592: Allow cycles in class declarations
-------------------------------------+-------------------------------------
        Reporter:  MikeIzbicki       |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler (Type    |                 Version:  7.10.1
  checker)                           |                Keywords:
      Resolution:                    |            Architecture:
Operating System:  Unknown/Multiple  |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by MikeIzbicki):

 I actually tried the technique on my current code base and it did appear
 GHC went into an infinite loop.  I didn't report it here though because I
 wasn't sure exactly what was going on and I haven't had a chance to look
 into it more fully.

 I'm not sure what you mean by this could be accepted with regards to
 comment:6 of #10318.  There's a lot going on in that thread, and it's hard
 for me to get a good grasp of what's relevant.  I basically know nothing
 about how type inference actually works, I'm just a big fan of using it :)

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


More information about the ghc-tickets mailing list