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

soap12_tagless.scala doesn't work with Scala 3

eed3si9n opened this issue · comments

steps

Try the new tagless code gen with Scala 3.

problem

[error] -- Error: /Users/eed3si9n/work/quicktest/soap/target/scala-3.2.2/src_managed/main/sbt-scalaxb/scalaxb/soap12_tagless.scala:87:26
[error] 87 |      ftr.map { s: String =>
[error]    |                          ^
[error]    |parentheses are required around the parameter of a lambda
[error]    |This construct can be rewritten automatically under -rewrite -source 3.0-migration.
[error] one error found
[error] (Compile / compileIncremental) Compilation failed

/cc @zarthross