summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr
blob: 66f83c8b64e302fcdad74965de9cccc4ff6aed82 (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:13: Warning:
    Defaulting the following constraint(s) 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:
    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:13: Warning:
    Defaulting the following constraint(s) 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:
    Top-level binding with no type signature: main :: IO ()