Scala 3 (Dotty) Pattern match the function with quotes

前端 未结 0 1297
温柔的废话
温柔的废话 2020-12-08 04:47

I\'m trying to get the function name via macros in Scala 3.0.0-M2 The solution that I came up with uses TreeAccumulator

import scala.quoted._

in         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题