Skip to content

chore: mark AnyRef::eq and AnyRef::ne as infix instead of special casing when emitting the warning #23252

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

Closes #23251

Screenshot 2025-05-23 at 16 01 54

@hamzaremmal hamzaremmal merged commit 74e45cf into scala:main May 23, 2025
29 checks passed
@hamzaremmal hamzaremmal deleted the i23251 branch May 23, 2025 16:49
hamzaremmal added a commit that referenced this pull request May 23, 2025
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 😅
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.

scaladoc: eq and ne in AnyRef not marked as infix
2 participants