summaryrefslogtreecommitdiff
path: root/testsuite/tests/generics/T5462No1.stderr
diff options
context:
space:
mode:
authorJose Pedro Magalhaes <jpm@cs.ox.ac.uk>2014-11-20 22:41:28 -0600
committerAustin Seipp <austin@well-typed.com>2014-11-20 22:41:29 -0600
commit7ed482d909556c1b969185921e27e3fe30c2fe86 (patch)
tree533284283c1bbfd8eb279a3d6ec913f71fb61a55 /testsuite/tests/generics/T5462No1.stderr
parent067f1e4f20efc824badbac54da2f9484090cb39b (diff)
downloadhaskell-7ed482d909556c1b969185921e27e3fe30c2fe86.tar.gz
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
Diffstat (limited to 'testsuite/tests/generics/T5462No1.stderr')
-rw-r--r--testsuite/tests/generics/T5462No1.stderr20
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/tests/generics/T5462No1.stderr b/testsuite/tests/generics/T5462No1.stderr
new file mode 100644
index 0000000000..9deb08a9f9
--- /dev/null
+++ b/testsuite/tests/generics/T5462No1.stderr
@@ -0,0 +1,20 @@
+[1 of 2] Compiling GFunctor ( GFunctor/GFunctor.hs, GFunctor/GFunctor.o )
+[2 of 2] Compiling T5462No1 ( T5462No1.hs, T5462No1.o )
+
+T5462No1.hs:24:42:
+ Can't make a derived instance of ‘GFunctor F’:
+ ‘GFunctor’ is not a derivable class
+ Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension
+ In the newtype declaration for ‘F’
+
+T5462No1.hs:26:23:
+ Can't make a derived instance of ‘C1 G’:
+ ‘C1’ is not a derivable class
+ Try enabling DeriveAnyClass
+ In the data declaration for ‘G’
+
+T5462No1.hs:27:23:
+ Can't make a derived instance of ‘C2 H’:
+ ‘C2’ is not a derivable class
+ Try enabling DeriveAnyClass
+ In the data declaration for ‘H’