summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedrecflds/should_fail/NFSMixed.stderr
blob: 0419feb7641529260b5519b06fe929e9def2ab57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

NFSMixed.hs:5:18: error:
    Ambiguous occurrence ‘foo’
    It could refer to
       either the field ‘foo’ of record ‘Foo’,
              imported from ‘NFSMixedA’ at NFSMixed.hs:3:1-16
              (and originally defined at NFSMixedA.hs:4:18-20)
           or the field ‘foo’ of record ‘Bar’,
              imported from ‘NFSMixedA’ at NFSMixed.hs:3:1-16
              (and originally defined at NFSMixedA.hs:5:18-20)
           or ‘NFSMixedA.foo’,
              imported from ‘NFSMixedA’ at NFSMixed.hs:3:1-16
              (and originally defined at NFSMixedA.hs:8:1-3)