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

tcfail015.hs:7:13: error:
    • No instance for ‘Num Bool’ arising from the literal ‘2’
    • In the expression: 2
      In an equation for ‘g’: g (ANull) = 2