[GHC] #14198: Inconsistent treatment of implicitly bound kind variables as free-floating

GHC ghc-devs at haskell.org
Thu Feb 21 18:31:54 UTC 2019


#14198: Inconsistent treatment of implicitly bound kind variables as free-floating
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.2.1
  checker)                           |
      Resolution:                    |             Keywords:  TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:  14268             |             Blocking:
 Related Tickets:  #7873, #15474     |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 I think this is subtly a different problem than `reportFloatingKvs`:
 that's all about user-written kind variables; this ticket is about
 overactive generalization.

 We ''could'' just say that `a` has kind `Any`. But I prefer rejecting the
 program.

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


More information about the ghc-tickets mailing list