summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedrecflds/should_fail/T16745.stderr
blob: ebc974a123b6964f53789a7bae394c9447ff0c1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[1 of 4] Compiling T16745C          ( T16745C.hs, T16745C.o )
[2 of 4] Compiling T16745B          ( T16745B.hs, T16745B.o )
[3 of 4] Compiling T16745D          ( T16745D.hs, T16745D.o )
[4 of 4] Compiling T16745A          ( T16745A.hs, T16745A.o )

T16745A.hs:8:9: error: [GHC-87543]
    Ambiguous occurrence ‘field’.
    It could refer to
       either ‘T16745B.field’,
              imported from ‘T16745B’ at T16745A.hs:3:24-28
              (and originally defined in ‘T16745C’ at T16745C.hs:2:1-5),
           or the field ‘field’ of record ‘T16745B.R’,
              imported from ‘T16745B’ at T16745A.hs:3:24-28
              (and originally defined at T16745B.hs:11:14-18).