Skip to content

Commit 3326cc4

Browse files
authored
Merge pull request scalacenter#2280 from scalacenter/update/scalameta-4.13.10
Update scalameta to 4.13.10
2 parents 19c09ea + 11e3bae commit 3326cc4

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

project/Dependencies.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ object Dependencies {
2424
val metaconfigV = "0.16.0"
2525
val nailgunV = "0.9.1"
2626
val scalaXmlV = "2.2.0"
27-
val scalametaV = "4.13.7"
27+
val scalametaV = "4.13.10"
2828
val scalatagsV = "0.13.1"
2929
val scalatestV = "3.2.19"
3030
val munitV = "1.1.1"

scalafix-core/src/main/scala/scalafix/internal/v0/LegacyCodePrinter.scala

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,10 @@ class LegacyCodePrinter(doc: SemanticDocument) {
193193
}
194194
private def loop(tree: s.Tree): Unit = tree match {
195195
case s.NoTree =>
196-
case s.ApplyTree(fn, args) =>
197-
loop(fn)
198-
mkString("(", args, ")")(loop)
196+
case t: s.ApplyTree =>
197+
loop(t.function)
198+
// TODO: expose properties bitmask https://github.com/scalameta/scalameta/pull/4275
199+
mkString("(", t.arguments, ")")(loop)
199200
case s.FunctionTree(params, term) =>
200201
text.append("{")
201202
mkString("(", params, ") => ")(loop)

scalafix-core/src/main/scala/scalafix/internal/v1/DocumentFromProtobuf.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ final class DocumentFromProtobuf(original: s.Synthetic)(implicit
1717
def stree(t: s.Tree): SemanticTree = {
1818
t match {
1919
case t: s.ApplyTree =>
20+
// TODO: expose properties bitmask https://github.com/scalameta/scalameta/pull/4275
2021
ApplyTree(t.function.convert, t.arguments.convert)
2122
case t: s.FunctionTree =>
2223
FunctionTree(t.parameters.convert, t.body.convert)

0 commit comments

Comments
 (0)