Skip to content

Commit

Permalink
chore: Adjust after changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed Dec 23, 2024
1 parent 8b1251b commit fdfaa52
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 _ =>
""
}
Expand Down
8 changes: 4 additions & 4 deletions tests/cross/src/test/scala/tests/pc/SignatureHelpSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,8 @@ class SignatureHelpSuite extends BaseSignatureHelpSuite {
| User(age = 1, @@)
|}
""".stripMargin,
"""|apply(<age: Int = ...>, <name: String = ...>): User
| ^^^^^^^^^^^^^^^^^^^^
"""|apply(<age: Int = 42>, <name: String = "John">): User
| ^^^^^^^^^^^^^^^^^^^^^^^
|""".stripMargin,
compat = Map(
"3" ->
Expand All @@ -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" ->
Expand Down

0 comments on commit fdfaa52

Please sign in to comment.