[project @ 2001-03-29 14:35:20 by simonmar]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail008.stderr
1
2 tcfail008.hs:3:
3     No instance for `Num [t]'
4     arising from the literal `2' at tcfail008.hs:3
5     In the second argument of `(:)', namely `2'
6     in the definition of function `o': 1 : 2
7
8 tcfail008.hs:3:
9     Ambiguous type variable(s) `t' in the constraint `Num t'
10     arising from the literal `1' at tcfail008.hs:3
11     In the first argument of `(:)', namely `1'
12     in the definition of function `o': 1 : 2