[GHC] #10899: Polytype accepted in RHS of default associated type

GHC ghc-devs at haskell.org
Sat Sep 19 16:49:52 UTC 2015


#10899: Polytype accepted in RHS of default associated type
-------------------------------------+-------------------------------------
              Reporter:  goldfire    |             Owner:  goldfire
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:  7.10.3
             Component:  Compiler    |           Version:  7.10.2
              Keywords:              |  Operating System:  Unknown/Multiple
          Architecture:              |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
             Test Case:              |        Blocked By:
              Blocking:              |   Related Tickets:
Differential Revisions:              |
-------------------------------------+-------------------------------------
 This hogwash is accepted:

 {{{
 class C a where
   type F a
   type F a = forall m. m a
 }}}

 I will fix.

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


More information about the ghc-tickets mailing list