summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedrecflds/should_fail/T13132_duplicaterecflds.stderr
blob: 576e6d41f6af10d384b4113fb954d4dda911d8ef (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: [GHC-87543]
    Ambiguous occurrence ‘runContT’.
    It could refer to
       either the field ‘runContT’ of record ‘ContT’,
              defined at T13132_duplicaterecflds.hs:4:31,
           or the field ‘runContT’ of record ‘ContT2’,
              defined at T13132_duplicaterecflds.hs:5:33.

T13132_duplicaterecflds.hs:9:11: error: [GHC-46878]
    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: [GHC-87543]
    Ambiguous occurrence ‘runContT’.
    It could refer to
       either the field ‘runContT’ of record ‘ContT’,
              defined at T13132_duplicaterecflds.hs:4:31,
           or the field ‘runContT’ of record ‘ContT2’,
              defined at T13132_duplicaterecflds.hs:5:33.