eed3si9n / scalaxb

scalaxb is an XML data binding tool for Scala.

Home Page:http://scalaxb.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

multiarg infix syntax looks like a tuple and will be deprecated

margussipria opened this issue · comments

Scala 2.13.3

I tried to test my code with Scala 2.13.3 and got deprecation error messages that I can't fix with my project

[error] /app/target/scala-2.13/src_managed/main/sbt-scalaxb/scalaxb/scalaxb.scala:19:74: multiarg infix syntax looks like a tuple and will be deprecated
[error]     case Left(a) => throw new ParserFailure("Error while parsing %s: %s" format(seq.toString, a))
[error]                                                                          ^
[error] /app/target/scala-2.13/src_managed/main/sbt-scalaxb/scalaxb/scalaxb.scala:962:51: multiarg infix syntax looks like a tuple and will be deprecated
[error]     getPrefix(namespace, scope) map { """%s:%s""" format(_, name)
[error]                                                   ^
[error] /app/target/scala-2.13/src_managed/main/sbt-scalaxb/scalaxb/scalaxb.scala:883:15: multiarg infix syntax looks like a tuple and will be deprecated
[error]       "%s:%s" format (_, value.getLocalPart)} getOrElse {value.getLocalPart}
[error]               ^
[error] three errors found

Thanks for the report! Would like to send a PR for this?