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

Remove unlawful Ord instance and replace it by a compare function #3279

Merged

Conversation

ChristophHochrainer
Copy link
Contributor

@ChristophHochrainer ChristophHochrainer commented Oct 10, 2022

This PR removes the unlawful Ord instance mentioned in #3271.
Since CodeActionKind does not implement Ord it is not so easy to provide a clean Ord instance for ImportSuggestion.
Currently the ordering is moved to a function which also documents this problem.

@fendor fendor requested a review from michaelpj October 10, 2022 17:32
@michaelpj michaelpj merged commit 07f14e3 into haskell:master Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants