Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GHC-02550 documentation #503

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FinleyMcIlwaine
Copy link

No description provided.

title: Quantified predicate must have a class or type variable head
summary: The head of a quantified constraint must be either a class or a type variable
severity: error
introduced: 9.4.1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC error message numbers were introduced only in 9.6, so it's the minimum version we use for introduced fiels (even if the warning existed much earlier)

Suggested change
introduced: 9.4.1
introduced: 9.6.1

introduced: 9.4.1
---

Quantified constraints are constraints which have their own constraints. The
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could benefit from a link to GHC manual and/or mentioning relevant language extensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants