Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
scala> val q"${Ident(TermName(func))}($args)" = Apply(Ident(TermName("println")), List(Literal(Constant("hello"))))
func: String = println
args: reflect.runtime.universe.Tree = "hello"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment