Compile errors when defining a macro to convert a case class instance into a map and back

前端 未结 1 829
别那么骄傲
别那么骄傲 2021-01-21 20:45

I\'m trying to understand the following blog post, which discusses how to use macros to create a generic macro-based approach to convert case class objects to and from a map: ht

相关标签:
1条回答
  • 2021-01-21 21:04

    change t.$name to t.${name.toTermName}

    0 讨论(0)
提交回复
热议问题