diff options
author | Richard Eisenberg <eir@cis.upenn.edu> | 2013-10-21 13:04:47 -0400 |
---|---|---|
committer | Richard Eisenberg <eir@cis.upenn.edu> | 2013-10-23 09:23:24 -0400 |
commit | 99cd277c181dfb346d5f2d5fc9475379229037d0 (patch) | |
tree | a2221e8545ba06078bf9ed7e09e5a47347360ed9 /testsuite/tests/gadt | |
parent | c43dd9731850df270f98fb37119e935f0fa89735 (diff) | |
download | haskell-99cd277c181dfb346d5f2d5fc9475379229037d0.tar.gz |
Update tests to reflect new check for GeneralizedNewtypeDeriving
Diffstat (limited to 'testsuite/tests/gadt')
-rw-r--r-- | testsuite/tests/gadt/CasePrune.stderr | 2 |
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’ |