-
Notifications
You must be signed in to change notification settings - Fork 92
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
2.13.6 #527
Conversation
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") |
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.
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]] |
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.
new context.Traverser { | ||
|
||
import context.global._ | ||
|
||
private val contexts = new mutable.Stack[ListBuffer[String]]() | ||
private var contexts: List[ListBuffer[String]] = Nil |
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.
A var List
is better than a mutable.Stack
, so replacing it. Behavior is kept.
when this might get finished? |
Can this be reviewed any soon? |
hi! when this will get merged and published? |
@mccartney would you have some time to review/merge this any time soon? |
Ack. Thanks for tagging me. I somehow must've missed this PR. I'll attend to it this week. |
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.
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!
Updates to Scala 2.13.6.
Refactors sbt syntax.
Fixes #520.
Inspired by #488.