[project @ 2000-12-12 17:21:40 by simonmar]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail072.stderr
index 0b9ed10..f0cd8c3 100644 (file)
@@ -1,7 +1,10 @@
-tcfail072.hs:17: Ambiguous context `{PrelBase.Ord taDf}'
-                    `PrelBase.Ord taDf' arising from use of `g' at tcfail072.hs:23
-    When checking signature(s) for: `g'
 
+tcfail072.hs:23:
+    Ambiguous type variable(s) `p' in the constraint `Ord p'
+    arising from use of `g' at tcfail072.hs:23
+    In the right-hand side of an equation for `g': g A
 
-Compilation had errors
+tcfail072.hs:23:
+    Ambiguous type variable(s) `q' in the constraint `Ord q'
+    arising from use of `g' at tcfail072.hs:23
+    In the right-hand side of an equation for `g': g A