Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/8019bc2cb7b2883bdf0da49ccdc52ecc9e2ad2fc >--------------------------------------------------------------- commit 8019bc2cb7b2883bdf0da49ccdc52ecc9e2ad2fc Author: Simon Peyton Jones <simo...@microsoft.com> Date: Fri Oct 19 12:53:21 2012 +0100 Only promote *non-existential* data constructors I don't konw how this was left out before; Trac #7347. In fixing this I did the usual round of refactoring. In particular, I cached the fact that a DataCon can be promoted in the DataCon itself (the dcPromoted field). compiler/basicTypes/DataCon.lhs | 69 ++++++++++++++++++++------------------ compiler/iface/TcIface.lhs | 4 +- compiler/prelude/TysWiredIn.lhs | 6 ++-- compiler/types/TyCon.lhs | 2 +- 4 files changed, 42 insertions(+), 39 deletions(-) Diff suppressed because of size. To see it, use: git show 8019bc2cb7b2883bdf0da49ccdc52ecc9e2ad2fc _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc