summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci052.stderr
diff options
context:
space:
mode:
authorDaniel Winograd-Cort <dwc@cs.yale.edu>2011-08-25 17:30:41 +0100
committerSimon Marlow <marlowsd@gmail.com>2011-09-21 01:14:32 +0100
commit0ce6b6c11c3df08edcc5a89190f56e5a4f2922e6 (patch)
tree918afcadddc6fba31a377cafa3af9f018e9126d0 /testsuite/tests/ghci/scripts/ghci052.stderr
parentb4d342606fd0a1fc2300291036c52ca20de7c1ab (diff)
downloadhaskell-0ce6b6c11c3df08edcc5a89190f56e5a4f2922e6.tar.gz
Test cases for GHCi data, class, etc.
Test cases for GHCi data, type, newtype, class, instance, deriving, etc declarations.
Diffstat (limited to 'testsuite/tests/ghci/scripts/ghci052.stderr')
-rw-r--r--testsuite/tests/ghci/scripts/ghci052.stderr27
1 files changed, 27 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/ghci052.stderr b/testsuite/tests/ghci/scripts/ghci052.stderr
new file mode 100644
index 0000000000..c685a2aaaf
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/ghci052.stderr
@@ -0,0 +1,27 @@
+
+<interactive>:7:4:
+ Couldn't match expected type `main::Interactive.Planet'
+ with actual type `Planet'
+ In the first argument of `pn', namely `Mercury'
+ In the expression: pn Mercury
+ In an equation for `it': it = pn Mercury
+
+<interactive>:8:4:
+ Couldn't match expected type `main::Interactive.Planet'
+ with actual type `Planet'
+ In the first argument of `pn', namely `Venus'
+ In the expression: pn Venus
+ In an equation for `it': it = pn Venus
+
+<interactive>:9:4:
+ Couldn't match expected type `main::Interactive.Planet'
+ with actual type `Planet'
+ In the first argument of `pn', namely `Mars'
+ In the expression: pn Mars
+ In an equation for `it': it = pn Mars
+
+<interactive>:11:44:
+ Couldn't match expected type `Planet'
+ with actual type `main::Interactive.Planet'
+ In the pattern: Earth
+ In an equation for `pn': pn Earth = "E"