summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail015.stderr
blob: 24affd76d936a5c1a1e73096a5a95cb540eadc1c (plain)
1
2
3
4
5
6
7

tcfail015.hs:7:13:
    No instance for (Num Bool)
      arising from the literal `2'
    Possible fix: add an instance declaration for (Num Bool)
    In the expression: 2
    In an equation for `g': g (ANull) = 2