summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/T2245.stderr
blob: 7a4e868c9fad0ba78f8438e6e52bc348bca8ae97 (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:29: warning: [-Wtype-defaults (in -Wall)]
    • Defaulting the following constraints to type ‘T’
        (Fractional a0)
          arising from the literal ‘1e400’ at T2245.hs:7:29-33
        (Ord a0) arising from an operator section at T2245.hs:7:27-33
        (Read a0) arising from a use of ‘read’ at T2245.hs:7:38-41
    • In the second argument of ‘(<)’, namely ‘1e400’
      In the first argument of ‘(.)’, namely ‘(< 1e400)’
      In the second argument of ‘(.)’, namely ‘(< 1e400) . read’