Skip to content

Improve "ambiguous occurrence" error messages

sheaf requested to merge sheaf/ghc:T23301 into master

This error was sometimes a bit confusing, especially when data families were involved. This commit improves the general presentation of the "ambiguous occurrence" error, and adds a bit of extra context in the case of data families.

TODO:

Edited by sheaf

Merge request reports