Designed to reliably work with production releases of the Scala Compiler, the Macro Paradise plugin makes the latest macro developments available long before they end up in future shipping releases of Scala.
Questions tagged [scala-macro-paradise]
77 questions
0
votes
1 answer
Calling function with implicit parameter from quasioquote
For some reason every time I try to call a function with an implicit parameter from quasiquotes, it fails with
Can't unquote x.universe.Tree, consider providing an implicit instance of Liftable[x.universe.Tree]
What's wrong with that? Am I not…

ilinum
- 464
- 4
- 11
0
votes
1 answer
Can I use Java reflection to get the value of a member that has been added with a Scala macro annotation?
I have a Scala macro annotation that adds a val "x" to a class MyRecord at compile time.
I've also got some Java code that uses MyRecord.class.getDeclaredField(x) to get the value of the added field.
javap MyRecord.class shows that the added field…

Julian Peeters
- 853
- 1
- 6
- 19