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

tcfail204.hs:10:7: error: [GHC-18042] [-Wtype-defaults (in -Wall), Werror=type-defaults]
    • Defaulting the type variable ‘a0’ to type ‘Double’ in the following constraints
        (RealFrac a0)
          arising from a use of ‘ceiling’ at tcfail204.hs:10:7-13
        (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