Skip to content

Commit

Permalink
Fix scaladoc deprecation message
Browse files Browse the repository at this point in the history
Fixes #20118
  • Loading branch information
HarrisL2 committed Nov 11, 2024
1 parent d78516a commit a13df81
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@ class MemberRenderer(signatureRenderer: SignatureRenderer)(using DocContext) ext
signatureRenderer.renderLink(stripQuotes(text), dri)
case Annotation.UnresolvedParameter(_, value) => stripQuotes(value)

val (named, unnamed) = a.params.partition(_.name.nonEmpty)
val message = named.find(_.name.get == "message")
val since = named.find(_.name.get == "since")
val message = a.params.lift(0)
val since = a.params.lift(1)

val content = (
Seq(
Expand Down

0 comments on commit a13df81

Please sign in to comment.