Document GHC-61689; Add examples to GHC-88464 and GHC-76037 #477
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello!
I recently ran into the error like
And I found the various nuances confusing enough that I thought it merited a description here. It turns out there are multiple errors that can trigger this message.
GHC-61689 (New)
This is a new error introduced in GHC 9.8.1 for importing a an unexported symbol.
GHC-88464
This was previously documented in other cases, but it can also trigger the
NoFieldSelectors
message in the right circumstances.GHC-76037
Similar to GHC-61689, though it involves the export, not the import.
I have this in the same PR as they are all related, but please let me know if they should be split up, or if there should be issues created. Thanks!