[commit: ghc] wip/rae: Refactor visible type application. (0e0b112)
git at git.haskell.org
git at git.haskell.org
Tue Mar 8 16:32:54 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/rae
Link : http://ghc.haskell.org/trac/ghc/changeset/0e0b1120486dc08050aabdf6c31cfef1d56cd425/ghc
>---------------------------------------------------------------
commit 0e0b1120486dc08050aabdf6c31cfef1d56cd425
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date: Tue Feb 23 09:51:50 2016 -0500
Refactor visible type application.
This replaces the old HsType and HsTypeOut constructors
with HsAppType and HsAppTypeOut, leading to some simplification.
(This refactoring addresses #11329.)
This also fixes #11456, which stumbled over HsType (which is
not an expression).
test case: ghci/scripts/T11456
>---------------------------------------------------------------
0e0b1120486dc08050aabdf6c31cfef1d56cd425
compiler/deSugar/Coverage.hs | 23 ++---
compiler/deSugar/DsExpr.hs | 15 +--
compiler/deSugar/DsMeta.hs | 4 +-
compiler/hsSyn/HsExpr.hs | 63 ++++++-----
compiler/hsSyn/HsUtils.hs | 26 ++---
compiler/parser/Parser.y | 11 +-
compiler/rename/RnExpr.hs | 10 +-
compiler/rename/RnSource.hs | 1 +
compiler/typecheck/TcExpr.hs | 115 +++++++++++----------
compiler/typecheck/TcHsSyn.hs | 8 +-
compiler/typecheck/TcRnTypes.hs | 4 +-
testsuite/tests/ghci/scripts/T11456.hs | 5 +
testsuite/tests/ghci/scripts/T11456.script | 2 +
testsuite/tests/ghci/scripts/all.T | 1 +
testsuite/tests/typecheck/should_fail/T9605.stderr | 20 ++--
.../tests/typecheck/should_fail/VtaFail.stderr | 2 +-
16 files changed, 166 insertions(+), 144 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 0e0b1120486dc08050aabdf6c31cfef1d56cd425
More information about the ghc-commits
mailing list