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

LanguageVersion should implement relational operators #2014

Open
parlough opened this issue Feb 5, 2025 · 1 comment · May be fixed by #2016
Open

LanguageVersion should implement relational operators #2014

parlough opened this issue Feb 5, 2025 · 1 comment · May be fixed by #2016

Comments

@parlough
Copy link
Member

parlough commented Feb 5, 2025

It seems packages that rolled their own LanguageVersion often override the relational operators for use when adjusting behavior. I think it's reasonable and is more straightforward than directly using compareTo.

\cc @lrhn for thoughts.

@lrhn
Copy link
Member

lrhn commented Feb 8, 2025

Seems reasonable.

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

Successfully merging a pull request may close this issue.

2 participants