[GHC] #11355: TypeApplications + RankNTypes permits "impredicativity"

GHC ghc-devs at haskell.org
Fri Jan 15 20:43:37 UTC 2016


#11355: TypeApplications + RankNTypes permits "impredicativity"
-------------------------------------+-------------------------------------
        Reporter:  adamgundry        |                Owner:  goldfire
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.11
      Resolution:                    |             Keywords:
                                     |  TypeApplications
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Richard Eisenberg <eir@…>):

 In [changeset:"e6ca93005bc3df62619f3f968fe51b380e33938a/ghc"
 e6ca9300/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="e6ca93005bc3df62619f3f968fe51b380e33938a"
 Fix #11355.

 Previously, the check for impredicative type applications was
 in the wrong spot.

 Test case: typecheck/should_fail/T11355
 }}}

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


More information about the ghc-tickets mailing list