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

tcfail224.hs:8:5: error: [GHC-39999]
    • 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