[project @ 1998-11-16 18:14:44 by simonm]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail031.stderr
index 2f528f6..f13bfaf 100644 (file)
@@ -1,10 +1,10 @@
  
-tcfail031.hs:3: Couldn't match the type
-                   `PrelBase.Char' against `PrelBase.Bool'
-    Expected: `PrelBase.Char'
-    Inferred: `PrelBase.Bool'
-    In the predicate expression `'a''
-    In an equation for function `f': `f x = if 'a' then 1 else 2'
+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