-
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
Set default source version to 3.5 #20441
Conversation
How I fixed it First, I've changed the default source version from |
@Kordyjan This PR will need to be backported to the |
@hamzaremmal I added you to dotty-staging/dotty. So in the future you can push your PRs there or add commits to existing PRs. |
3b7fd50
to
ac1341d
Compare
8c0f0ce
to
f88a97d
Compare
@odersky Should be good for review now. @natsukagami can you take a look at why semanticdb somtimes include the diagnostics and sometimes it doesn't (should not block this PR since I commented it for now) |
We are emitting the following warning inside the semanticdb test
... but not always, this seems to be because of the usage of the From the ordering used inside Further up we can see scala3/compiler/src/dotty/tools/dotc/typer/Implicits.scala Lines 1431 to 1436 in 7bdeb0b
Here note that with two candidates
I can see a few things to do here:
|
@natsukagami That's a great analysis. Let me see if we can somehow delay the warning to the point where we choose one of the implicits that are mentioned in it. |
See #20480 for a fix that should suppress the spurious warnings. |
We should remember to re-enable the semanticdb diagnostics when #20480 is merged. |
Indeed, I suggested to do it in the same PR since it was the trigger for this change |
The main part of this branch was superseded by #20441, but there were a couple of tests to add, and also a change in the treatment of looping implicits in 3.6
Superseeds #20435
Closes #20415
[test_scala2_library_tasty]
[test_windows_full]
[test_java8]