summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail010.stderr
blob: 20a6d222a7c3a855cadc96c477e864ccc5688317 (plain)
1
2
3
4
5
6
7
8

tcfail010.hs:3:17:
    No instance for (Num [t0])
      arising from a use of `+'
    Possible fix: add an instance declaration for (Num [t0])
    In the expression: z + 2
    In the expression: \ (y : z) -> z + 2
    In an equation for `q': q = \ (y : z) -> z + 2