[commit: ghc] master: Refactor visible type application. (972730c)
git at git.haskell.org
git at git.haskell.org
Tue Mar 15 03:50:32 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/972730cc42a419b8cd148abaa927e03415da3a68/ghc
>---------------------------------------------------------------
commit 972730cc42a419b8cd148abaa927e03415da3a68
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]
>---------------------------------------------------------------
972730cc42a419b8cd148abaa927e03415da3a68
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 972730cc42a419b8cd148abaa927e03415da3a68
More information about the ghc-commits
mailing list