summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail04.stderr
blob: 6aa46697298dd19b880cfacef3b426886d10e16d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[1 of 3] Compiling OverloadedRecFldsFail04_A ( OverloadedRecFldsFail04_A.hs, OverloadedRecFldsFail04_A.o )
[2 of 3] Compiling Main             ( overloadedrecfldsfail04.hs, overloadedrecfldsfail04.o )

overloadedrecfldsfail04.hs:9:6: error:
    Ambiguous occurrence ‘I.x’
    It could refer to
       either the field ‘x’ of record ‘V’,
              imported from ‘OverloadedRecFldsFail04_A’ at overloadedrecfldsfail04.hs:6:1-37
              (and originally defined at OverloadedRecFldsFail04_A.hs:6:16)
           or the field ‘x’ of record ‘U’,
              imported from ‘OverloadedRecFldsFail04_A’ at overloadedrecfldsfail04.hs:6:1-37
              (and originally defined at OverloadedRecFldsFail04_A.hs:5:16)