blob: a54338cbf0eb6a897b5baacfa5d052c9c4847f7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
T18999_NoDisambiguateRecordFields.hs:6:13: error: [GHC-87543]
Ambiguous occurrence ‘not’.
It could refer to
either ‘Prelude.not’,
imported from ‘Prelude’ at T18999_NoDisambiguateRecordFields.hs:2:8-40
(and originally defined in ‘GHC.Classes’),
or the field ‘not’ of record ‘Foo’,
defined at T18999_NoDisambiguateRecordFields.hs:4:18.
T18999_NoDisambiguateRecordFields.hs:8:11: error: [GHC-56428]
Ambiguous record field ‘not’.
It could refer to any of the following:
• record field ‘not’ of ‘Foo’,
defined at T18999_NoDisambiguateRecordFields.hs:4:18
• variable ‘not’,
imported from ‘Prelude’ at T18999_NoDisambiguateRecordFields.hs:2:8-40
(and originally defined in ‘GHC.Classes’)
Suggested fix: Perhaps you intended to use DisambiguateRecordFields
|