[GHC] #11473: Levity polymorphism checks are inadequate

GHC ghc-devs at haskell.org
Sat Mar 26 20:26:39 UTC 2016


#11473: Levity polymorphism checks are inadequate
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  goldfire
            Type:  bug               |               Status:  closed
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.10.3
      Resolution:  fixed             |             Keywords:
                                     |  LevityPolymorphism, TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Incorrect         |            Test Case:
  warning at compile-time            |  dependent/should_fail/T11473
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"12a76bebe0864cdf1c9088ed16175d7b34369e24/ghc" 12a76be/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="12a76bebe0864cdf1c9088ed16175d7b34369e24"
 Check for rep poly on wildcard binders.

 I had just missed this case when adding my test.
 This is relevant to ticket #11473.

 Also adds lots of comments.
 }}}

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


More information about the ghc-tickets mailing list