[project @ 1999-05-11 16:33:06 by keithw]
authorkeithw <unknown>
Tue, 11 May 1999 16:33:11 +0000 (16:33 +0000)
committerkeithw <unknown>
Tue, 11 May 1999 16:33:11 +0000 (16:33 +0000)
commit5c18c653824cc629940a8b73afcd59c78c1e97bb
tree8aab50d9abf9c8178a17e8abaa816a3b32a95f97
parent39b581ba6d9ecd90db9a080d487cec140595877d
[project @ 1999-05-11 16:33:06 by keithw]
(this is number 2 of 9 commits to be applied together)

  Type constructors now carry information on the variance (positive
  and/or negative) of each of their type arguments (tyConArgVrcs).
  This information is provided for primitive types and computed for
  others.  If a tycon has been imported abstractly and this variance
  information is subsequently demanded, we make a pessimistic
  assumption and warn that -fno-prune-tydecls should be used.
ghc/compiler/prelude/TysPrim.lhs
ghc/compiler/prelude/TysWiredIn.lhs
ghc/compiler/typecheck/TcTyClsDecls.lhs
ghc/compiler/typecheck/TcTyDecls.lhs
ghc/compiler/types/TyCon.lhs