summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_compile/T2245.stderr
blob: b823c00ed0c8fb1955b939f8841351f5676ba941 (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 a0) arising from a use of ‘<’ at T2245.hs:7:27
        (Fractional a0)
          arising from the literal ‘1e400’ at T2245.hs:7:29-33
        (Read a0) arising from a use of ‘read’ at T2245.hs:7:38-41
    • In the first argument of ‘(.)’, namely ‘(< 1e400)’
      In the second argument of ‘(.)’, namely ‘(< 1e400) . read’
      In the second argument of ‘($)’, namely ‘show . (< 1e400) . read’