[commit: ghc] master: Refactor error generation for pattern synonyms (9fc65bb)
git at git.haskell.org
git at git.haskell.org
Thu Mar 31 07:02:02 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/9fc65bb85ef3e6386e84e7f9bbe408dede1baf67/ghc
>---------------------------------------------------------------
commit 9fc65bb85ef3e6386e84e7f9bbe408dede1baf67
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Wed Mar 30 17:31:59 2016 +0100
Refactor error generation for pattern synonyms
The result of a series of patches on type-error messages for
pattern synonyms had become a bit baroque. This tidies it up
a bit. Still not fantastic, but better.
>---------------------------------------------------------------
9fc65bb85ef3e6386e84e7f9bbe408dede1baf67
compiler/typecheck/TcErrors.hs | 255 ++++++++++++-----------
compiler/typecheck/TcPatSyn.hs | 16 +-
compiler/typecheck/TcRnTypes.hs | 20 +-
compiler/typecheck/TcType.hs | 18 +-
compiler/typecheck/TcValidity.hs | 8 +-
testsuite/tests/patsyn/should_fail/T11039.stderr | 2 +-
testsuite/tests/patsyn/should_fail/T11667.stderr | 16 +-
7 files changed, 178 insertions(+), 157 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 9fc65bb85ef3e6386e84e7f9bbe408dede1baf67
More information about the ghc-commits
mailing list