[commit: ghc] wip/gadtpm: Several important fixes (We get a stack overflow though) (cc7e390)
git at git.haskell.org
git at git.haskell.org
Thu Feb 5 08:10:43 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/gadtpm
Link : http://ghc.haskell.org/trac/ghc/changeset/cc7e3902c536e68ad9aebaff75ca650dbeb35b7b/ghc
>---------------------------------------------------------------
commit cc7e3902c536e68ad9aebaff75ca650dbeb35b7b
Author: George Karachalias <george.karachalias at gmail.com>
Date: Thu Feb 5 08:59:24 2015 +0100
Several important fixes (We get a stack overflow though)
Fixed `tcTyVarDetails' failure (impossible happened):
1. Extended `toTcType' to transform kinds as well
2. Added `instTypePmM' and `instTypesPmM' for correct fresh tvs
Improved performance:
3. Made PmM a type synonym of DsM
4. Removed redundant term substitutions
5. Stopped calling isSatisfiable on covered vectors, as soon as the first
well-typed is found
Misc.
6. Made toTcType pure (no actual need to be monadic)
Important note:
I have temporarily deactivated the propagation of EvVars in scope while
traversing the AST, until the space leak problem is resolved.
>---------------------------------------------------------------
cc7e3902c536e68ad9aebaff75ca650dbeb35b7b
compiler/deSugar/Check.hs | 265 ++++++++++++++++------------------------
compiler/deSugar/Match.hs | 7 +-
compiler/typecheck/TcMType.hs | 17 +--
compiler/typecheck/TcRnTypes.hs | 11 +-
compiler/typecheck/TcSMonad.hs | 4 +
5 files changed, 133 insertions(+), 171 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc cc7e3902c536e68ad9aebaff75ca650dbeb35b7b
More information about the ghc-commits
mailing list