-
Notifications
You must be signed in to change notification settings - Fork 1.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
bugfix: in semanticdb make synthetic apply disambiguator consistent w/ Scala 2 implicit #17341
bugfix: in semanticdb make synthetic apply disambiguator consistent w/ Scala 2 implicit #17341
Conversation
You can use partition instead of sort to make it linear. |
373f0e7
to
d194619
Compare
d194619
to
2f65f35
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome, thanks a lot! sorry for the delay
Hello @kasiaMarek, gentle ping. 😉 Is there anything left to do here? Would be great to get this in time for 3.3.2 if possible (no pressure of course). 🙂 |
needs a rebase, otherwise I'm not sure why it didn't automerge before. Edit: im doing the rebase, there was probably another semanticdb change that was merged at the same time as the CI was running and caused the conflict |
…ith Scala 2 implementation
2f65f35
to
bef7a4a
Compare
@bishabosha, tests failed, though it doesn't seem connected to the fix |
Thanks, I restarted the CI because as you say it looked like some unrelated network error |
@Kordyjan was this backported or will be added in 3.3.3 ? |
Ach nvm. I see it's in the queue |
Previously:
For the following code:
In SemanticDB the synthetic
apply
in Scala 3 would get()
disambiguator:where, in Scala 2 implementation the synthetic
apply
gets(+1)
disambiguator:Now:
We make sure that for overloaded methods synthetic ones are added at the end to fix the incompatibility w/ Scala 2 implementation.
connected to: scalameta/metals#4769