Implement #5462 (deriving clause for arbitrary classes)
authorJose Pedro Magalhaes <jpm@cs.ox.ac.uk>
Fri, 21 Nov 2014 04:41:28 +0000 (22:41 -0600)
committerAustin Seipp <austin@well-typed.com>
Fri, 21 Nov 2014 04:41:29 +0000 (22:41 -0600)
commit7ed482d909556c1b969185921e27e3fe30c2fe86
tree533284283c1bbfd8eb279a3d6ec913f71fb61a55
parent067f1e4f20efc824badbac54da2f9484090cb39b
Implement #5462 (deriving clause for arbitrary classes)

Summary: (this has been submitted on behalf on @dreixel)

Reviewers: simonpj, hvr, austin

Reviewed By: simonpj, austin

Subscribers: goldfire, thomie, carter, dreixel

Differential Revision: https://phabricator.haskell.org/D476

GHC Trac Issues: #5462
17 files changed:
compiler/basicTypes/BasicTypes.lhs
compiler/main/DynFlags.hs
compiler/typecheck/TcDeriv.lhs
compiler/typecheck/TcGenDeriv.lhs
docs/users_guide/flags.xml
docs/users_guide/glasgow_exts.xml
testsuite/tests/driver/T4437.hs
testsuite/tests/generics/GEnum/Enum.hs [new file with mode: 0644]
testsuite/tests/generics/GEq/GEq1A.hs
testsuite/tests/generics/T5462No1.hs [new file with mode: 0644]
testsuite/tests/generics/T5462No1.stderr [new file with mode: 0644]
testsuite/tests/generics/T5462Yes1.hs [new file with mode: 0644]
testsuite/tests/generics/T5462Yes1.stdout [new file with mode: 0644]
testsuite/tests/generics/T5462Yes2.hs [new file with mode: 0644]
testsuite/tests/generics/T5462Yes2.stdout [new file with mode: 0644]
testsuite/tests/generics/all.T
testsuite/tests/module/mod53.stderr