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

tcfail152.hs:10:14:
    No instance for (Integral a) arising from a use of ‘toInteger’
    Possible fix:
      add (Integral a) to the context of the data constructor ‘C’
    In the expression: toInteger x
    In an equation for ‘test’: test (C x) = toInteger x