error-message-index icon indicating copy to clipboard operation
error-message-index copied to clipboard

[GHC-02256] "Ambiguous record update" is not documented.

Open rickowens opened this issue 1 year ago • 1 comments

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.

rickowens avatar Jan 08 '24 23:01 rickowens

Thanks for the report. I'll try to get to it soon :)

BinderDavid avatar Jan 13 '24 11:01 BinderDavid