diff options
Diffstat (limited to 'testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr')
-rw-r--r-- | testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr b/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr new file mode 100644 index 0000000000..dd8fa9e89e --- /dev/null +++ b/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr @@ -0,0 +1,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 () |