[GHC] #14674: Deferring more levity polymorphism checks in indefinite backpack modules

GHC ghc-devs at haskell.org
Tue Jan 30 15:18:19 UTC 2018


#14674: Deferring more levity polymorphism checks in indefinite backpack modules
-------------------------------------+-------------------------------------
        Reporter:  andrewthad        |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.4.1-alpha1
      Resolution:                    |             Keywords:  backpack
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 andrewthad):

 Another more simple solution to this problem would be to add a flag that
 could only be used with indefinite modules named `-fdefer-levity-check`.
 This would entirely disable the binder rule for indefinite modules where
 it was turned on.

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


More information about the ghc-tickets mailing list