You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Scala 3.4.0 with twirl results in warnings like:
The syntax x: _* is no longer supported for vararg splices; use x* instead
The source of the issue comes from here and here using .toIndexedSeq:_* in codegen.
So, the methods compile and compileVirtual need to feed syntax variant options when invoking parseAndGenerateCode that in turn invokes generateFinalTemplate->generateCode.
Probably many ways to solve this. One is to change compile and compileVirtual to include scala version. I have no idea what maven-twirl and cradle-twirl do.
The text was updated successfully, but these errors were encountered:
Using Scala 3.4.0 with twirl results in warnings like:
The source of the issue comes from here and here using
.toIndexedSeq:_*
in codegen.So, the methods
compile
andcompileVirtual
need to feed syntax variant options when invokingparseAndGenerateCode
that in turn invokesgenerateFinalTemplate->generateCode
.Probably many ways to solve this. One is to change
compile
andcompileVirtual
to include scala version. I have no idea what maven-twirl and cradle-twirl do.The text was updated successfully, but these errors were encountered: