summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T5684.stderr
blob: c0575fd5a39c9b3ad864638861ac921f2dccd5fa (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78

T5684.hs:25:12:
    No instance for (A b6) arising from a use of `op'
    The type variable `b6' is ambiguous
    Possible fix: add a type signature that fixes these type variable(s)
    In the expression: op True undefined
    In the expression:
      [op False False, op 'c' undefined, op True undefined]
    In an equation for `flop1':
        flop1 = [op False False, op 'c' undefined, op True undefined]

T5684.hs:30:12:
    No instance for (A b5) arising from a use of `op'
    The type variable `b5' is ambiguous
    Possible fix: add a type signature that fixes these type variable(s)
    In the expression: op True undefined
    In the expression:
      [op False False, op True undefined, op 'c' undefined]
    In an equation for `flop2':
        flop2 = [op False False, op True undefined, op 'c' undefined]

T5684.hs:36:12:
    No instance for (A b4) arising from a use of `op'
    The type variable `b4' is ambiguous
    Possible fix: add a type signature that fixes these type variable(s)
    In the expression: op True undefined
    In the expression:
      [op 'c' undefined, op True undefined, op False False]
    In an equation for `flop3':
        flop3 = [op 'c' undefined, op True undefined, op False False]

T5684.hs:42:12:
    No instance for (A b3) arising from a use of `op'
    The type variable `b3' is ambiguous
    Possible fix: add a type signature that fixes these type variable(s)
    In the expression: op True undefined
    In the expression:
      [op 'c' undefined, op False False, op True undefined]
    In an equation for `flop4':
        flop4 = [op 'c' undefined, op False False, op True undefined]

T5684.hs:46:12:
    No instance for (A b2) arising from a use of `op'
    The type variable `b2' is ambiguous
    Possible fix: add a type signature that fixes these type variable(s)
    In the expression: op True undefined
    In the expression:
      [op True undefined, op 'c' undefined, op False False]
    In an equation for `flop5':
        flop5 = [op True undefined, op 'c' undefined, op False False]

T5684.hs:52:12:
    No instance for (A b0) arising from a use of `op'
    The type variable `b0' is ambiguous
    Possible fix: add a type signature that fixes these type variable(s)
    In the expression: op True undefined
    In the expression:
      [op True undefined, op False False, op 'c' undefined]
    In an equation for `flop6':
        flop6 = [op True undefined, op False False, op 'c' undefined]

T5684.hs:53:12:
    No instance for (A Bool) arising from a use of `op'
    In the expression: op False False
    In the expression:
      [op True undefined, op False False, op 'c' undefined]
    In an equation for `flop6':
        flop6 = [op True undefined, op False False, op 'c' undefined]

T5684.hs:54:12:
    No instance for (B Char b1) arising from a use of `op'
    The type variable `b1' is ambiguous
    Possible fix: add a type signature that fixes these type variable(s)
    In the expression: op 'c' undefined
    In the expression:
      [op True undefined, op False False, op 'c' undefined]
    In an equation for `flop6':
        flop6 = [op True undefined, op False False, op 'c' undefined]