Skip to content

chore: mark eq and ne in Predef as infix #23255

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

Merged
merged 1 commit into from
May 23, 2025

Conversation

hamzaremmal
Copy link
Member

For consistency with #23252

Note that infix here is not need because that parent's symbol is changed to scala.Predef, which is considered Scala 2 code.
I guess we can define extension methods in scala 2, at least from dotty internal's point of view 😅

@hamzaremmal hamzaremmal merged commit a5a7644 into scala:main May 23, 2025
26 checks passed
@hamzaremmal hamzaremmal deleted the predef-infix branch May 23, 2025 18:43
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