summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/T2245.stderr
blob: ca38eec5acca244c91b970fe301be56b242a4d76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

T2245.hs:4:10: warning: [-Wmissing-methods (in -Wdefault)]
    • No explicit implementation for
        ‘+’, ‘*’, ‘abs’, ‘signum’, ‘fromInteger’, and (either ‘negate’
                                                              or
                                                              ‘-’)
    • In the instance declaration for ‘Num T’

T2245.hs:5:10: warning: [-Wmissing-methods (in -Wdefault)]
    • No explicit implementation for
        ‘fromRational’ and (either ‘recip’ or ‘/’)
    • In the instance declaration for ‘Fractional T’

T2245.hs:7:27: warning: [-Wtype-defaults (in -Wall)]
    • Defaulting the following constraints to type ‘T’
        (Ord b0) arising from a use of ‘<’ at T2245.hs:7:27
        (Fractional b0)
          arising from the literal ‘1e400’ at T2245.hs:7:29-33
        (Read b0) arising from a use of ‘read’ at T2245.hs:7:38-41
    • In the expression: (<)
      In the first argument of ‘(.)’, namely ‘(< 1e400)’
      In the second argument of ‘(.)’, namely ‘(< 1e400) . read’