diff options
Diffstat (limited to 'testsuite/tests/safeHaskell/ghci/p15.stderr')
-rw-r--r-- | testsuite/tests/safeHaskell/ghci/p15.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/ghci/p15.stderr b/testsuite/tests/safeHaskell/ghci/p15.stderr new file mode 100644 index 0000000000..883f541c7b --- /dev/null +++ b/testsuite/tests/safeHaskell/ghci/p15.stderr @@ -0,0 +1,12 @@ + +<interactive>:14:10: + Can't create hand written instances of Typeable in Safe Haskell! Can only derive them + +<interactive>:22:22: + No instance for (Typeable G) + arising from a use of `cast' + Possible fix: add an instance declaration for (Typeable G) + In the expression: (cast y) :: Maybe H + In a pattern binding: (Just y_as_H) = (cast y) :: Maybe H + +<interactive>:23:1: Not in scope: `y_as_H' |