Skip to content

Commit

Permalink
Fix deprecation warning when using varargs in Scala 2.13 (FP #238) (#241
Browse files Browse the repository at this point in the history
)
  • Loading branch information
octonato authored and mkurz committed Jul 16, 2019
1 parent 21105a2 commit fe20c77
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ package """ :+ packageName :+ """
.map { p =>
p.name.toString + Option(p.tpt.toString)
.filter(_.startsWith("_root_.scala.<repeated>"))
.map(_ => ":_*")
.map(_ => ".toIndexedSeq:_*")
.getOrElse("")
}
.mkString(",") + ")"
Expand Down Expand Up @@ -594,7 +594,7 @@ package """ :+ packageName :+ """
.map { p =>
p.name.toString + Option(p.tpt.toString)
.filter(_.startsWith("_root_.scala.<repeated>"))
.map(_ => ":_*")
.map(_ => ".toIndexedSeq:_*")
.getOrElse("")
}
.mkString(",") + ")"
Expand Down

0 comments on commit fe20c77

Please sign in to comment.