[commit: ghc] master: Improve kind-checking for 'deriving' clauses (9a34864)
git at git.haskell.org
git at git.haskell.org
Thu Jun 25 14:51:22 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/9a348640c5ddd63c3385d3722fb3ade38013a148/ghc
>---------------------------------------------------------------
commit 9a348640c5ddd63c3385d3722fb3ade38013a148
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Thu Jun 25 15:48:37 2015 +0100
Improve kind-checking for 'deriving' clauses
The main payload is in 'mk_functor_like_constraints' in
TcDeriv.inferConstraints.
This is moving towards a fix for Trac #10561
>---------------------------------------------------------------
9a348640c5ddd63c3385d3722fb3ade38013a148
compiler/typecheck/TcDeriv.hs | 44 ++++++++++++++++------
testsuite/tests/deriving/should_compile/T10561.hs | 19 ++++++++++
.../tests/deriving/should_compile/T10561.stderr | 5 +++
testsuite/tests/deriving/should_compile/all.T | 1 +
testsuite/tests/deriving/should_fail/T9071.stderr | 7 +---
.../tests/deriving/should_fail/T9071_2.stderr | 7 +---
testsuite/tests/typecheck/should_fail/T9305.stderr | 7 +---
7 files changed, 63 insertions(+), 27 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 9a348640c5ddd63c3385d3722fb3ade38013a148
More information about the ghc-commits
mailing list