How to access parameter list of case class in a dotty macro
问题 I am trying to learn meta-programming in dotty. Specifically compile time code generation. I thought learning by building something would be a good approach. So I decided to make a CSV parser which will parse lines into case classes. I want to use dotty macros to generate decoders trait Decoder[T]{ def decode(str:String):Either[ParseError, T] } object Decoder { inline given stringDec as Decoder[String] = new Decoder[String] { override def decode(str: String): Either[ParseError, String] =