[project @ 2000-12-12 17:21:40 by simonmar]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail036.stderr
index ba8ddf2..e6636c2 100644 (file)
@@ -1,8 +1,7 @@
 
-tcfail036.hs:3:
-    Duplicate or overlapping instance declarations
-       for `Num NUM'
-           defined at tcfail036.hs:8 and defined at tcfail036.hs:6
+Duplicate or overlapping instance declarations:
+  tcfail036.hs:6: {Num NUM}
+  tcfail036.hs:8: {Num NUM}
 
 tcfail036.hs:8:
     No instance for `Eq NUM'
@@ -13,8 +12,5 @@ tcfail036.hs:8:
     arising from an instance declaration at tcfail036.hs:8
 
 tcfail036.hs:9:
-    Class used as a type constructor: Num
+    Class `Num' used as a type
     When checking kinds in `Eq Num'
-
-Compilation had errors
-