[commit: ghc] ghc-8.0: Refactor visible type application. (7293209)
git at git.haskell.org
git at git.haskell.org
Wed Mar 16 08:41:02 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.0
Link : http://ghc.haskell.org/trac/ghc/changeset/729320938b17a101c4a6b43c824edace9ebb53f6/ghc
>---------------------------------------------------------------
commit 729320938b17a101c4a6b43c824edace9ebb53f6
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
[skip ci]
(cherry picked from commit 972730cc42a419b8cd148abaa927e03415da3a68)
>---------------------------------------------------------------
729320938b17a101c4a6b43c824edace9ebb53f6
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/T11456.stdout | 1 +
testsuite/tests/ghci/scripts/all.T | 1 +
testsuite/tests/typecheck/should_fail/T9605.stderr | 20 ++--
.../tests/typecheck/should_fail/VtaFail.stderr | 2 +-
17 files changed, 167 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 729320938b17a101c4a6b43c824edace9ebb53f6
More information about the ghc-commits
mailing list