[commit: ghc] master: Set tct_closed to TopLevel for closed bindings. (c9e8f80)
git at git.haskell.org
git at git.haskell.org
Thu Apr 7 01:29:06 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/c9e8f801170b213b85735ed403f24b2842aedf1b/ghc
>---------------------------------------------------------------
commit c9e8f801170b213b85735ed403f24b2842aedf1b
Author: Facundo Domínguez <facundo.dominguez at tweag.io>
Date: Thu Mar 17 12:21:25 2016 -0300
Set tct_closed to TopLevel for closed bindings.
Summary:
Till now tct_closed determined whether the type of a binding is closed.
With this patch tct_closed indicates whether the binding is closed.
Test Plan: ./validate
Reviewers: simonpj, austin, bgamari
Reviewed By: simonpj
Subscribers: mboes, thomie, simonpj
Differential Revision: https://phabricator.haskell.org/D2016
GHC Trac Issues: #11698
>---------------------------------------------------------------
c9e8f801170b213b85735ed403f24b2842aedf1b
compiler/typecheck/TcBinds.hs | 122 +++++++++++++--------
compiler/typecheck/TcEnv.hs | 31 ++++--
compiler/typecheck/TcInstDcls.hs | 2 +-
compiler/typecheck/TcRnDriver.hs | 2 +-
compiler/typecheck/TcRnTypes.hs | 6 +-
testsuite/tests/typecheck/should_fail/T11698.hs | 7 ++
.../tests/typecheck/should_fail/T11698.stderr | 7 ++
testsuite/tests/typecheck/should_fail/all.T | 1 +
8 files changed, 119 insertions(+), 59 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 c9e8f801170b213b85735ed403f24b2842aedf1b
More information about the ghc-commits
mailing list