[GHC] #14873: The well-kinded type invariant (in TcType)

GHC ghc-devs at haskell.org
Thu Jul 12 11:16:57 UTC 2018


#14873: The well-kinded type invariant (in TcType)
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  goldfire
            Type:  bug               |               Status:  merge
        Priority:  highest           |            Milestone:  8.6.1
       Component:  Compiler (Type    |              Version:  8.5
  checker)                           |
      Resolution:                    |             Keywords:  TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Another thing that came up yesterday: there are some calls to `eqType`
 where we know for sure the the kinds are the same, so checking the kinds
 as well is redundant.  e.g. the use of `eqType` in `checkExpectedKinds`.

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


More information about the ghc-tickets mailing list