summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/ExtraTcsUntch.stderr
blob: 63f24fa268d3429629d8f09d9e3666a412ef6602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

ExtraTcsUntch.hs:23:18: error:
    • Couldn't match expected type: F Int
                  with actual type: [p]
    • In the first argument of ‘h’, namely ‘[x]’
      In the expression: h [x]
      In an equation for ‘g1’: g1 _ = h [x]
    • Relevant bindings include
        x :: p (bound at ExtraTcsUntch.hs:21:3)
        f :: p -> ((), ((), ())) (bound at ExtraTcsUntch.hs:21:1)

ExtraTcsUntch.hs:25:38: error:
    • Couldn't match expected type: F Int
                  with actual type: [[a0]]
      The type variable ‘a0’ is ambiguous
    • In the first argument of ‘h’, namely ‘[[undefined]]’
      In the expression: h [[undefined]]
      In the expression: (h [[undefined]], op x [y])