Skip to content
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

Update scalatags to 0.9.4 #2387

Merged
merged 1 commit into from
Mar 26, 2021
Merged

Update scalatags to 0.9.4 #2387

merged 1 commit into from
Mar 26, 2021

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Mar 26, 2021

Scaltags are now published again for 2.11 🎉

Scaltags are now published again for 2.11 🎉
@tgodzik tgodzik requested a review from kitbellew March 26, 2021 10:36
@@ -207,10 +207,7 @@ lazy val tests = project
skip in publish := true,
libraryDependencies ++= Seq(
// Test dependencies
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 13)) => "com.lihaoyi" %% "scalatags" % "0.9.3"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you know why we had a split? what does the commit message say, if you use git blame?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it was introduced while adding support for 2.13 #1522

Doesn't seem there is any particular reason other than maybe it was only released for 2.13?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

last question. should we keep this check for 2.13 and just update its version? just in case the next version of scalatags will once again not support an older version of scala, and we won't need to remember how to write this construct?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think they should soon start to stop supporting it, but we have this construct all over the place in Metals and I think this is also done for parallel-collections https://github.com/scalameta/scalafmt/blob/master/build.sbt#L119

@tgodzik tgodzik merged commit e0ccecf into scalameta:master Mar 26, 2021
@tgodzik tgodzik deleted the scalatags branch March 26, 2021 16:48
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.

2 participants