summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr
blob: 2487a3da5b80cdc82205c0d4369623e42281af6f (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 (in -Wall)]
    Top-level binding with no type signature:
      answer_to_live_the_universe_and_everything :: Int

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

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

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

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

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