summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail018.stderr
blob: 67ee5095374d59552932b3e411a8cd1d6c70e09d (plain)
1
2
3
4
5
6
7

tcfail018.hs:5:10:
    No instance for (Num [t0])
      arising from the literal `1'
    Possible fix: add an instance declaration for (Num [t0])
    In the expression: 1
    In a pattern binding: (a : []) = 1