Give promoted DataCons a tyConArity and promoted TyCons a tyConKind
authorSimon Peyton Jones <simonpj@microsoft.com>
Mon, 6 Feb 2012 08:40:44 +0000 (08:40 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Mon, 6 Feb 2012 08:40:44 +0000 (08:40 +0000)
commitaf26d558fb57150a0035cc72d15f829975db2e9f
tree5aee3211c1950629467457aa803c633d86cdfd90
parentf92591defcb5c4803c301558d51e3f8c9c92a985
Give promoted DataCons a tyConArity and promoted TyCons a tyConKind

..and fix up Core Lint.  (I was getting a bogus Core Lint failure.)
compiler/basicTypes/DataCon.lhs
compiler/coreSyn/CoreLint.lhs
compiler/iface/BuildTyCl.lhs
compiler/prelude/TysWiredIn.lhs
compiler/typecheck/TcHsType.lhs
compiler/types/Kind.lhs
compiler/types/TyCon.lhs