summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail204.stderr
blob: f4b6ec791b22c033b2177b40a6dfb1d8fe7b5c62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

tcfail204.hs:10:15: warning:
    • Defaulting the following constraints to type ‘Double’
        (Fractional a0)
          arising from the literal ‘6.3’ at tcfail204.hs:10:15-17
        (RealFrac a0)
          arising from a use of ‘ceiling’ at tcfail204.hs:10:7-17
    • In the first argument of ‘ceiling’, namely ‘6.3’
      In the expression: ceiling 6.3
      In an equation for ‘foo’: foo = ceiling 6.3

<no location info>: error: 
Failing due to -Werror.