[project @ 2001-08-08 14:23:09 by simonmar]
[ghc-hetmet.git] / ghc / tests / reader / should_fail / read007.stderr
index f78aa2a..72470b1 100644 (file)
@@ -2,4 +2,8 @@
 read007.hs:6:
     `+' is not a data constructor
     In the pattern: 2 + 2
-    in a `do' expression pattern binding: (2 + 2) <- 2
+    In a 'do' expression pattern binding: (2 + 2) <- 2
+    In the definition of `f':
+       do
+         (2 + 2) <- 2
+         return x