[commit: ghc] wip/T5462: Implement #5462 (deriving clause for arbitrary classes) (7a4cdef)
git at git.haskell.org
git at git.haskell.org
Mon Sep 29 09:52:26 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T5462
Link : http://ghc.haskell.org/trac/ghc/changeset/7a4cdef85b0fa03a22fda595ac92870465d8c727/ghc
>---------------------------------------------------------------
commit 7a4cdef85b0fa03a22fda595ac92870465d8c727
Author: Jose Pedro Magalhaes <dreixel at gmail.com>
Date: Mon Sep 29 10:38:00 2014 +0100
Implement #5462 (deriving clause for arbitrary classes)
>---------------------------------------------------------------
7a4cdef85b0fa03a22fda595ac92870465d8c727
compiler/basicTypes/BasicTypes.lhs | 1 +
compiler/main/DynFlags.hs | 2 +
compiler/typecheck/TcDeriv.lhs | 76 ++++++++++++++++++++++++----
compiler/typecheck/TcGenDeriv.lhs | 31 +++++++++++-
testsuite/tests/generics/GEnum/Enum.hs | 87 ++++++++++++++++++++++++++++++++
testsuite/tests/generics/GEq/GEq1A.hs | 3 +-
testsuite/tests/generics/T5462No1.hs | 25 +++++++++
testsuite/tests/generics/T5462No1.stderr | 19 +++++++
testsuite/tests/generics/T5462No2.hs | 26 ++++++++++
testsuite/tests/generics/T5462No2.stderr | 19 +++++++
testsuite/tests/generics/T5462Yes.hs | 48 ++++++++++++++++++
testsuite/tests/generics/T5462Yes.stdout | 1 +
testsuite/tests/generics/all.T | 12 +++--
testsuite/tests/module/mod53.stderr | 1 +
14 files changed, 333 insertions(+), 18 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 7a4cdef85b0fa03a22fda595ac92870465d8c727
More information about the ghc-commits
mailing list