-
-tcfail008.hs:3: No instance for: `PrelBase.Num [taBU]'
- arising from the literal 2 at tcfail008.hs:3
-
-tcfail008.hs:3: No instance for: `PrelBase.Num [taBU]'
- arising from the literal 2 at tcfail008.hs:3
-
-tcfail008.hs:3: No instance for: `PrelBase.Num [PrelBase.Int]'
- arising from the literal 2 at tcfail008.hs:3
+
+tcfail008.hs:3:
+ Ambiguous type variable(s) `t' in the constraint `Num [t]'
+ arising from the literal `2' at tcfail008.hs:3
+ In the second argument of `:', namely `2'
+ In the right-hand side of a pattern binding: 1 : 2
+
+tcfail008.hs:3:
+ Ambiguous type variable(s) `t' in the constraint `Num t'
+ arising from the literal `1' at tcfail008.hs:3
+ In the first argument of `:', namely `1'
+ In the right-hand side of a pattern binding: 1 : 2
Compilation had errors
+