[GHC] #9167: Associated type is accepted even without mentioning class parameters

GHC ghc-devs at haskell.org
Mon Jun 9 13:01:34 UTC 2014


#9167: Associated type is accepted even without mentioning class parameters
-------------------------------------+------------------------------------
        Reporter:  goldfire          |            Owner:
            Type:  bug               |           Status:  new
        Priority:  low               |        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 Simon Peyton Jones <simonpj@…>):

 In [changeset:"66bddbb27fd9c383f85005b8c6e1961d25d7a7dd/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="66bddbb27fd9c383f85005b8c6e1961d25d7a7dd"
 Check that an associated type mentions at least one type variable from the
 class

 Fixes Trac #9167
 }}}

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


More information about the ghc-tickets mailing list