summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedrecflds/should_fail/T13132_duplicaterecflds.stderr
blob: a2a4428b0bd8fa1963c8eb3f21710ad6be274e34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

T13132_duplicaterecflds.hs:7:16: error:
    Ambiguous occurrence ‘runContT’
    It could refer to
       either the field ‘runContT’ of record ‘ContT2’,
              defined at T13132_duplicaterecflds.hs:5:33
           or the field ‘runContT’ of record ‘ContT’,
              defined at T13132_duplicaterecflds.hs:4:31

T13132_duplicaterecflds.hs:9:11: error:
    The operator ‘runContT’ [infixl 9] of a section
        must have lower precedence than that of the operand,
          namely ‘y’ [infixl 9]
        in the section: ‘`runContT` x `y` x’

T13132_duplicaterecflds.hs:9:12: error:
    Ambiguous occurrence ‘runContT’
    It could refer to
       either the field ‘runContT’ of record ‘ContT2’,
              defined at T13132_duplicaterecflds.hs:5:33
           or the field ‘runContT’ of record ‘ContT’,
              defined at T13132_duplicaterecflds.hs:4:31