Yes, you can match on the type parameter's TypeRepr as a ConstantType(StringConstant(str)) and then just work on the string.
The cyclic dependencies could be because you're trying to use the macro in the same file it's defined in.
-
-
I thought Scala 3 made this possible ?
-
Damn you're right, that was it... Thanks!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.