[commit: ghc] master: Move expansion of 'assert' from renamer to typechecker (0f930ba)
git at git.haskell.org
git at git.haskell.org
Thu Nov 6 14:01:19 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/0f930ba2039e28d0083780a58adb37ff01a92019/ghc
>---------------------------------------------------------------
commit 0f930ba2039e28d0083780a58adb37ff01a92019
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Thu Nov 6 13:59:42 2014 +0000
Move expansion of 'assert' from renamer to typechecker
This improves error messages when there is a type error,
fixing Trac #9774
>---------------------------------------------------------------
0f930ba2039e28d0083780a58adb37ff01a92019
compiler/rename/RnExpr.lhs | 38 +---------
compiler/typecheck/TcExpr.lhs | 86 +++++++++++++++-------
testsuite/tests/typecheck/should_fail/T9774.hs | 5 ++
testsuite/tests/typecheck/should_fail/T9774.stderr | 8 ++
testsuite/tests/typecheck/should_fail/all.T | 1 +
5 files changed, 74 insertions(+), 64 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 0f930ba2039e28d0083780a58adb37ff01a92019
More information about the ghc-commits
mailing list