[commit: ghc] master: Fix #13333 by fixing the covar's type in ctEvCoercion (09bf135)
git at git.haskell.org
git at git.haskell.org
Wed May 3 03:07:59 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/09bf135ace55ce2572bf4168124d631e386c64bb/ghc
>---------------------------------------------------------------
commit 09bf135ace55ce2572bf4168124d631e386c64bb
Author: Richard Eisenberg <rae at cs.brynmawr.edu>
Date: Sun Apr 23 10:24:30 2017 -0400
Fix #13333 by fixing the covar's type in ctEvCoercion
The change is noted in Note [Given in ctEvCoercion]. This patch
also adds a bit more commentary to TcFlatten, documenting some
key invariants of the flattening algorithm. While in the area,
I also removed some stale commentary from TcCanonical.
>---------------------------------------------------------------
09bf135ace55ce2572bf4168124d631e386c64bb
compiler/typecheck/TcCanonical.hs | 98 ++++------------------
compiler/typecheck/TcFlatten.hs | 88 +++++++++++++++++--
compiler/typecheck/TcRnTypes.hs | 21 +++--
compiler/typecheck/TcSMonad.hs | 1 +
testsuite/tests/typecheck/should_compile/T13333.hs | 28 +++++++
testsuite/tests/typecheck/should_compile/all.T | 1 +
6 files changed, 143 insertions(+), 94 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 09bf135ace55ce2572bf4168124d631e386c64bb
More information about the ghc-commits
mailing list