[project @ 1999-01-23 17:57:35 by sof]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail014.stderr
index 4b5304a..457dea5 100644 (file)
@@ -1,17 +1,11 @@
  
-tcfail014.hs:5: Cannot construct the infinite type (occur check)
-                   `oaEt' = `oaEt -> oaEv'
-    Expected: `oaEt -> oaEv'
-    Inferred: `oaEt'
+tcfail014.hs:5:
+    Occurs check: cannot construct the infinite type: t = t -> _116
+       Expected type: t
+       Inferred type: t -> _116
     In the first argument of `z', namely `z'
-    In an equation for function `h': `h z = z z'
-    In an equation for function `g':
-       `g y
-          = h + 2
-          where
-              h z = z z'
-tcfail014.hs:5: No instance for: `Num (taEP -> taER)'
-    arising from use of `+' at tcfail014.hs:5
+    In the right-hand side of an equation for `h': z z
+
 
 Compilation had errors
+