summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T5358.stderr
blob: 5c9e68ca07b7088a6a5ce35066014a6dea29cec0 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package array-0.4.0.1 ... linking ... done.
Loading package deepseq-1.3.0.1 ... linking ... done.
Loading package containers-0.5.0.0 ... linking ... done.
Loading package pretty-1.1.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.

T5358.hs:7:1:
    Couldn't match expected type `t1 -> t1' with actual type `Int'
    The equation(s) for `t1' have one argument,
    but its type `Int' has none

T5358.hs:8:1:
    Couldn't match expected type `t0 -> t0' with actual type `Int'
    The equation(s) for `t2' have one argument,
    but its type `Int' has none

T5358.hs:10:13:
    Couldn't match expected type `t -> a0' with actual type `Int'
    Relevant bindings include
      prop_x1 :: t -> Bool (bound at T5358.hs:10:1)
      x :: t (bound at T5358.hs:10:9)
    The function `t1' is applied to one argument,
    but its type `Int' has none
    In the first argument of `(==)', namely `t1 x'
    In the expression: t1 x == t2 x

T5358.hs:10:21:
    Couldn't match expected type `t -> a0' with actual type `Int'
    Relevant bindings include
      prop_x1 :: t -> Bool (bound at T5358.hs:10:1)
      x :: t (bound at T5358.hs:10:9)
    The function `t2' is applied to one argument,
    but its type `Int' has none
    In the second argument of `(==)', namely `t2 x'
    In the expression: t1 x == t2 x

T5358.hs:12:15:
    Exception when trying to run compile-time code:
      runTest called error: forall t_0 . t_0 -> GHC.Types.Bool
      Code: do { VarI _ t _ _ <- reify (mkName "prop_x1");
                 ($) error ((++) "runTest called error: " pprint t) }
    In the expression:
      $(do { VarI _ t _ _ <- reify (mkName "prop_x1");
             error $ ("runTest called error: " ++ pprint t) })
    In an equation for `runTests':
        runTests
          = $(do { VarI _ t _ _ <- reify (mkName "prop_x1");
                   error $ ("runTest called error: " ++ pprint t) })