summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt
diff options
context:
space:
mode:
authorRichard Eisenberg <eir@cis.upenn.edu>2013-10-21 13:04:47 -0400
committerRichard Eisenberg <eir@cis.upenn.edu>2013-10-23 09:23:24 -0400
commit99cd277c181dfb346d5f2d5fc9475379229037d0 (patch)
treea2221e8545ba06078bf9ed7e09e5a47347360ed9 /testsuite/tests/gadt
parentc43dd9731850df270f98fb37119e935f0fa89735 (diff)
downloadhaskell-99cd277c181dfb346d5f2d5fc9475379229037d0.tar.gz
Update tests to reflect new check for GeneralizedNewtypeDeriving
Diffstat (limited to 'testsuite/tests/gadt')
-rw-r--r--testsuite/tests/gadt/CasePrune.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/gadt/CasePrune.stderr b/testsuite/tests/gadt/CasePrune.stderr
index d3dbc6ea3c..d763e0bd17 100644
--- a/testsuite/tests/gadt/CasePrune.stderr
+++ b/testsuite/tests/gadt/CasePrune.stderr
@@ -3,5 +3,5 @@ CasePrune.hs:14:31:
Can't make a derived instance of ‛C A’
(even with cunning newtype deriving):
it is not type-safe to use GeneralizedNewtypeDeriving on this class;
- the last parameter of ‛C’ is at role Nominal
+ ‛ic’, at type ‛T a’, cannot be converted safely
In the newtype declaration for ‛A’