[project @ 2000-12-12 17:21:40 by simonmar]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail080.stderr
index dd2eaf2..c5c6f22 100644 (file)
@@ -1,8 +1,7 @@
 
 tcfail080.hs:11:
-    Ambiguous type variable(s) `c'
-       in the constraint `Collection c a'
-       arising from use of `isempty' at tcfail080.hs:11
-
-Compilation had errors
-
+    Ambiguous type variable(s) `c' in the constraint `Collection c a'
+    arising from use of `singleton' at tcfail080.hs:11
+    In the first argument of `isempty', namely `(singleton x)'
+    In the right-hand side of an equation for `q':
+       isempty (singleton x)