[project @ 2001-03-13 17:30:57 by simonmar]
authorsimonmar <unknown>
Tue, 13 Mar 2001 17:30:57 +0000 (17:30 +0000)
committersimonmar <unknown>
Tue, 13 Mar 2001 17:30:57 +0000 (17:30 +0000)
update expected output

ghc/tests/reader/should_fail/read001.stdout
ghc/tests/reader/should_fail/read003.stderr
ghc/tests/reader/should_fail/read007.stderr
ghc/tests/reader/should_fail/read009.stderr
ghc/tests/reader/should_fail/read009.stdout
ghc/tests/reader/should_fail/read015.stderr

index 8c7cc09..a4d6758 100644 (file)
@@ -82,6 +82,6 @@ class (Ord a) => OrdClass a where {
 instance (Eq a) => {EqClass (EqTree a)} where
     []
     eqc x = 'a'
-default (Rational, Integer)
+default (Integer, Rational)
 
 
index a1adc5f..2b3f3bd 100644 (file)
@@ -3,4 +3,4 @@ read003.hs:4:
     Occurs check: cannot construct the infinite type: t = (t, [a], t1)
        Expected type: (t, [a], t1)
        Inferred type: t
-    In the right-hand side of a pattern binding: a
+    in a pattern binding: a
index 0b8d90e..f78aa2a 100644 (file)
@@ -2,4 +2,4 @@
 read007.hs:6:
     `+' is not a data constructor
     In the pattern: 2 + 2
-    In a do statement: (2 + 2) <- 2
+    in a `do' expression pattern binding: (2 + 2) <- 2
index 131ac17..84aae1d 100644 (file)
@@ -1,3 +1 @@
-
-read009.hs:5:
-    `do' statements must end in expression: do let foo = True
+read009.hs:12: parse error (possibly incorrect indentation)
index 80258a7..e69de29 100644 (file)
@@ -1,7 +0,0 @@
-
-==================== Parser ====================
-module ShouldFail where
-h x = x
-foo = do let foo = True
-
-
index d2bdab6..4ea7732 100644 (file)
@@ -1,4 +1 @@
 read015.hs:6: parse error (possibly incorrect indentation)
-
-Compilation had errors
-