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

tcfail007.hs:3:15:
    No instance for (Num Bool) arising from a use of ā€˜+ā€™
    In the expression: x + 1
    In an equation for ā€˜nā€™:
        n x
          | True = x + 1
          | False = True