error-message-index
error-message-index copied to clipboard
[GHC-02256] "Ambiguous record update" is not documented.
I am opening an issue that this error is undocumented as requested by the errors.haskell.org homepage.
The full error looks something like this:
redacted-file.hs:395:7: error: [GHC-02256] [-Wambiguous-fields, Werror=ambiguous-fields]
Ambiguous record update with parent type constructor ‘RedactedConstructor’.
This type-directed disambiguation mechanism will not be supported by -XDuplicateRecordFields in future releases of GHC.
Consider disambiguating using module qualification instead.
Thanks for the report. I'll try to get to it soon :)