diff --git a/mtags/src/main/scala/scala/meta/internal/metals/ScaladocIndexer.scala b/mtags/src/main/scala/scala/meta/internal/metals/ScaladocIndexer.scala index 4b55db83f37..c30e9d60368 100644 --- a/mtags/src/main/scala/scala/meta/internal/metals/ScaladocIndexer.scala +++ b/mtags/src/main/scala/scala/meta/internal/metals/ScaladocIndexer.scala @@ -70,7 +70,8 @@ class ScaladocIndexer( } def mparam(member: Member): SymbolDocumentation = { val default = member match { - case Term.Param(_, _, _, Some(term)) => term.syntax + case Term.Param(_, _, _, Some(term)) => + term.syntax case _ => "" } diff --git a/project/V.scala b/project/V.scala index 7c42133888b..ffdc94a2ed4 100644 --- a/project/V.scala +++ b/project/V.scala @@ -45,7 +45,7 @@ object V { val scalaCli = "1.5.4" val scalafix = "0.13.0" val scalafmt = "3.7.15" - val scalameta = "4.12.1" + val scalameta = "4.12.2" val scribe = "3.15.3" val qdox = "2.2.0" diff --git a/tests/cross/src/test/scala/tests/pc/SignatureHelpSuite.scala b/tests/cross/src/test/scala/tests/pc/SignatureHelpSuite.scala index f264e728305..a50ff39d344 100644 --- a/tests/cross/src/test/scala/tests/pc/SignatureHelpSuite.scala +++ b/tests/cross/src/test/scala/tests/pc/SignatureHelpSuite.scala @@ -583,8 +583,8 @@ class SignatureHelpSuite extends BaseSignatureHelpSuite { | User(age = 1, @@) |} """.stripMargin, - """|apply(, ): User - | ^^^^^^^^^^^^^^^^^^^^ + """|apply(, ): User + | ^^^^^^^^^^^^^^^^^^^^^^^ |""".stripMargin, compat = Map( "3" -> @@ -602,8 +602,8 @@ class SignatureHelpSuite extends BaseSignatureHelpSuite { | User(name = "", @@) |} """.stripMargin, - """|apply(name: String = ..., age: Int = ...): User - | ^^^^^^^^^^^^^^ + """|apply(name: String = "John", age: Int = 42): User + | ^^^^^^^^^^^^^ |""".stripMargin, compat = Map( "3" ->