summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail007.stderr
blob: 99c9504a7ec93f4c95890242a00ee82a15e67c71 (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