summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail204.stderr
blob: 8083ffce6073cacf6379910e28da36f41b221716 (plain)
1
2
3
4
5
6
7
8
9

tcfail204.hs:10:7: error: [-Wtype-defaults (in -Wall), -Werror=type-defaults]
    • Defaulting the following constraints to type ‘Double’
        (RealFrac a0)
          arising from a use of ‘ceiling’ at tcfail204.hs:10:7-17
        (Fractional a0)
          arising from the literal ‘6.3’ at tcfail204.hs:10:15-17
    • In the expression: ceiling 6.3
      In an equation for ‘foo’: foo = ceiling 6.3