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. |
BetaWas this translation helpful?Give feedback.
6 replies
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In shapeless 2 there is this macro trick for
Lazythat 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?BetaWas this translation helpful?Give feedback.
All reactions