[project @ 2001-03-29 14:35:20 by simonmar]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail031.stderr
index f13bfaf..5664334 100644 (file)
@@ -1,10 +1,7 @@
+
 tcfail031.hs:3:
     Couldn't match `Bool' against `Char'
        Expected type: Bool
        Inferred type: Char
     In the predicate expression: 'a'
-    In the right-hand side of an equation for `f': if 'a' then 1 else 2
-
-
-Compilation had errors
+    in the definition of function `f': if 'a' then 1 else 2