summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr
blob: 80b94dca4bfc4c20efe9cb1152cbd2be49be55f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

B.hs:4:1: warning: [-Wmissing-signatures]
    Top-level binding with no type signature:
      answer_to_live_the_universe_and_everything :: Int

B.hs:5:12: warning: [-Wtype-defaults]
    • Defaulting the following constraints to type ‘Integer’
        (Enum a0)
          arising from the arithmetic sequence ‘1 .. 23 * 2’ at B.hs:5:12-20
        (Num a0) arising from the literal ‘1’ at B.hs:5:13
    • In the first argument of ‘length’, namely ‘[1 .. 23 * 2]’
      In the first argument of ‘(-)’, namely ‘length [1 .. 23 * 2]’
      In the expression: length [1 .. 23 * 2] - 4

A.hs:7:1: warning: [-Wmissing-signatures]
    Top-level binding with no type signature: main :: IO ()

B.hs:4:1: warning: [-Wmissing-signatures]
    Top-level binding with no type signature:
      answer_to_live_the_universe_and_everything :: Int

B.hs:5:12: warning: [-Wtype-defaults]
    • Defaulting the following constraints to type ‘Integer’
        (Enum a0)
          arising from the arithmetic sequence ‘1 .. 23 * 2’ at B.hs:5:12-20
        (Num a0) arising from the literal ‘1’ at B.hs:5:13
    • In the first argument of ‘length’, namely ‘[1 .. 23 * 2]’
      In the first argument of ‘(-)’, namely ‘length [1 .. 23 * 2]’
      In the expression: length [1 .. 23 * 2] - 4

A.hs:7:1: warning: [-Wmissing-signatures]
    Top-level binding with no type signature: main :: IO ()