summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail224.stderr
blob: 70088e2f3a28ccebd68eadce26d96ba1280c72b7 (plain)
1
2
3
4
5
6
7

tcfail224.hs:8:5: error:
    • No instance for (Num Int) arising from the literal ‘3’
      There are instances for similar types:
        instance Num GHC.Types.Int -- Defined in ‘GHC.Num’
    • In the expression: 3
      In an equation for ‘f’: f = 3