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

B.hs:5:12:
    Warning: Defaulting the following constraint(s) 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 `2' at B.hs:5:19
    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: Top-level binding with no type signature: main :: IO ()

B.hs:4:1:
    Warning: Top-level binding with no type signature:
               answer_to_live_the_universe_and_everything :: Int

B.hs:5:12:
    Warning: Defaulting the following constraint(s) 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 `2' at B.hs:5:19
    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: Top-level binding with no type signature: main :: IO ()