[GHC] #9151: Recursive default associated types don't kind-generalize properly

GHC ghc-devs at haskell.org
Fri Jun 6 07:31:58 UTC 2014


#9151: Recursive default associated types don't kind-generalize properly
-------------------------------------+------------------------------------
        Reporter:  goldfire          |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.8.2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by archblob):

 I think you original assumption still stands, as the current failure
 happens when we try to type-check the type synonym, we don't even get to
 the associated defaults, thus only postponing the type checking of atdefs
 will do no good I think. The failure will still happen at this stage. I
 think the synonym would have to be type checked in a different group,
 after the class declaration and before the atdefs, which will have to be
 checked with other instances as you suggested. Maybe someone else can
 chime in with some ideas about the strategy. Please tell me if my
 assumptions are wrong.

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


More information about the ghc-tickets mailing list