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
Add support for Scala 2.12.12 #1907
Conversation
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.
thanks for taking care of this!
scalafmt/scalafix fail
we also need to wait and update Ammonite for 2.12.12 support.
Also I think one test failure shows expected list of elements needs to be updates.
Shouldn't also version be updated in sbt
, test-release.sh
and test-pom.xml
? just grepped where 2.12.11 was used.
9fd3027
to
6961f47
Compare
.github/workflows/ci.yml
Outdated
@@ -99,7 +99,7 @@ jobs: | |||
name: Scala cross tests | |||
os: ubuntu-latest | |||
- type: scalafix | |||
command: sbt scalafixCheck docs/docusaurusCreateSite | |||
command: sbt ++2.12.11 scalafixCheck docs/docusaurusCreateSite |
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.
I will follow up with an issue to update both scalafix and ammonite when the support for both is added for Scala 2.12.12
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.
👍
3b1ee05
to
94779c0
Compare
Updated! Thanks for reminding me! I worked around other features. Scalafix and ammonite can be updated later. This doesn't influence the actual use of Metals |
@tgodzik will not ammonite scripts use default scala version which is |
They use the default set by ammonite, we don't declare any default from what I've seen. I can double check. Edit: Actually we needed to update it in couple of places. Added also TODOs to track it. |
94779c0
to
cc9324f
Compare
@@ -149,7 +149,8 @@ final class Ammonite( | |||
.getOrElse( | |||
AmmVersions( | |||
ammoniteVersion = BuildInfo.ammoniteVersion, | |||
scalaVersion = BuildInfo.scala212 | |||
// TODO: https://github.com/scalameta/metals/issues/1908 | |||
scalaVersion = "2.12.11" |
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.
This is the default version for Ammonite
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.
👍
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.
LGTM!
Thanks for fast update 👍
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.
Looks good. LGTM!
59f4e91
to
97f7747
Compare
FYI Ammonite |
97f7747
to
8345548
Compare
Thanks! That was really fast! I can now update everything normally :D |
No description provided.