Skip to content

Typo: these potential instance exists

Summary

This issue concerns the error message here:

https://gitlab.haskell.org/ghc/ghc/-/blob/bb8e0df8f4187a4f4d0788dd3da3ef6f9268d378/compiler/GHC/Tc/Errors.hs#L2524

This results in the text: "these potential instance exists:" in error messages.

Expected behavior

There are two issues: 'instance' should be 'instances' and if there is only one instance then it might make sense to show a specialized message: "this potential instance exists:".

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information