Skip to content

Conversation

FinleyMcIlwaine
Copy link
Contributor

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.

@Bodigrim Bodigrim merged commit 6b3fd8c into haskellfoundation:main Mar 26, 2025
2 checks passed
@Bodigrim
Copy link
Collaborator

Thanks!

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