[commit: ghc] master: Further improvements to floating equalities (4b3df0b)
git at git.haskell.org
git at git.haskell.org
Fri Jul 18 14:34:13 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/4b3df0bb705c9287046c07bbc6c038960fbf8d53/ghc
>---------------------------------------------------------------
commit 4b3df0bb705c9287046c07bbc6c038960fbf8d53
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Fri Jul 18 09:35:24 2014 +0100
Further improvements to floating equalities
This equality-floating stuff is horribly delicate! Trac #9316 showed
up yet another corner case.
The main changes are
* include CTyVarEqs when "growing" the skolem set
* do not include the kind argument to (~) when growing the skolem set
I added a lot more comments as well
>---------------------------------------------------------------
4b3df0bb705c9287046c07bbc6c038960fbf8d53
compiler/typecheck/TcSimplify.lhs | 311 +++++++++++++--------
.../tests/indexed-types/should_compile/T9316.hs | 87 ++++++
testsuite/tests/indexed-types/should_compile/all.T | 1 +
3 files changed, 279 insertions(+), 120 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 4b3df0bb705c9287046c07bbc6c038960fbf8d53
More information about the ghc-commits
mailing list