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

2.13.6 #527

Merged
merged 8 commits into from
Jun 16, 2021
Merged

2.13.6 #527

merged 8 commits into from
Jun 16, 2021

Conversation

saeltz
Copy link
Collaborator

@saeltz saeltz commented May 26, 2021

Updates to Scala 2.13.6.
Refactors sbt syntax.

Fixes #520.
Inspired by #488.

build.sbt Outdated
scalaVersion := "2.13.5"
crossScalaVersions := Seq("2.11.12", "2.12.11", "2.12.12", "2.13.6", "2.13.3", "2.13.4", "2.13.5")
scalaVersion := "2.13.6"
crossScalaVersions := Seq("2.11.12", "2.12.11", "2.12.12", "2.12.13", "2.13.3", "2.13.4", "2.13.5", "2.13.6")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Latest 2.12 was updated to 2.13.6 by #523. This keeps the order and support for latest 2.12.
We might want to drop 2.12.11.

@@ -109,7 +109,7 @@ final case class InspectionContext(global: Global, feedback: Feedback) {
}

protected def isArray(tree: Tree): Boolean = tree.tpe.typeSymbol.fullName == "scala.Array"
protected def isTraversable(tree: Tree): Boolean = tree.tpe <:< typeOf[Traversable[Any]]
protected def isIterable(tree: Tree): Boolean = tree.tpe <:< typeOf[Iterable[Any]]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Possibly related #289 & #294.

new context.Traverser {

import context.global._

private val contexts = new mutable.Stack[ListBuffer[String]]()
private var contexts: List[ListBuffer[String]] = Nil
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

A var List is better than a mutable.Stack, so replacing it. Behavior is kept.

@saeltz saeltz marked this pull request as ready for review May 26, 2021 16:50
@mr-git
Copy link

mr-git commented May 28, 2021

when this might get finished?

@lxwbr
Copy link

lxwbr commented Jun 4, 2021

Can this be reviewed any soon?

@mr-git
Copy link

mr-git commented Jun 11, 2021

hi! when this will get merged and published?

@jozic
Copy link
Contributor

jozic commented Jun 14, 2021

@mccartney would you have some time to review/merge this any time soon?
Please :)

@mccartney
Copy link
Collaborator

Ack. Thanks for tagging me. I somehow must've missed this PR.

I'll attend to it this week.

@mccartney mccartney self-requested a review June 15, 2021 11:57
Copy link
Collaborator

@mccartney mccartney left a comment

Choose a reason for hiding this comment

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

LGTM.
The only comment I have is that we have a policy of keeping two minor versions per major version, so some of them need to be cleaned-up. But I'll do that in a separate PR.

Thank you for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Please compile version for Scala 2.13.6
5 participants