-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Multiple (non-implicit) parameters to a symbolic/infix should be avoided #10221
Comments
From my part we can remove all the new symbolic operators. |
Just to make things clear, not symbolic methods should be avoided, but multi-params for this methods. |
Yes, but we will have an imbalance in the API if we remove only a those with multi-params. |
So for this task, I'm planning to deprecate first (to prevent sudden usage breaks). Do we want to remove all of the postfix symbol operators and refer back to Also, should I add multiple signatures for def updated(entries: TypedEntry[_]*): TypedMap |
In #11672, I opted to do the following:
|
In #10199 we added symbolic methods to TypeMap, but as signaled by @NthPortal we should avoid this.
Triggered by:
I'm a bit late to the party here, but multiple (non-implicit) parameters to a symbolic/infix method are highly discouraged, and planned to be deprecated. See scala/scala-dev#496 and scala/scala3#4311 (comment).
Originally posted by @NthPortal in #10199
The text was updated successfully, but these errors were encountered: