Describe the bug
Currently zugen task fails on literal types:
final case class Success(id: JsonRpcId, result: Json, jsonrpc: String = "2.0")
processing... src/main/scala/tochka/ul/api/jsonrpc/JsonRpcResponse.scala
[error] stack trace is suppressed; run last Compile / zugen for the full output
[error] (Compile / zugen) <input>:11: error: identifier expected but string constant found
[error] final case class Success(id: JsonRpcId, result: Json, jsonrpc: "2.0" = "2.0")
[error]
Or for integer:
type Code = String Refined (Forall[Digit] And Size[Equal[9]])
processing... src/main/scala/tochka/ul/api/jsonrpc/TaxRiskCheck.scala
[error] stack trace is suppressed; run last Compile / zugen for the full output
[error] (Compile / zugen) <input>:23: error: identifier expected but integer constant found
[error] type CustomerCode = String Refined (Forall[Digit] And Size[Equal[9]])
[error] ^
To Reproduce
Define any literal type value:
val foo: "aaa" = "aaa"
Describe the bug Currently
zugen
task fails on literal types:Or for integer:
To Reproduce
Define any literal type value:
val foo: "aaa" = "aaa"
Expected behavior Zugen completes successfully.