Is it possible to set an implicitNotFound
annotation inside a macro?
#12434
Unanswered
soronpo
asked this question in
Metaprogramming
Replies: 1 comment 6 replies
-
What operation do you need to perform? I see that we are missing the operation to add an annotation. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In shapeless 2 there is this macro trick for
Lazy
that enables to set the annotation of a symbol. I use this concept quite a lot in my own libraries to set proper error messages for implicit constraints. Is there a way to do this inside a Scala 3 macro?Beta Was this translation helpful? Give feedback.
All reactions