I'm going away for a week, and left my laptop behind. Feeling vulnerable.
This is the tweet I was looking for when I found your earlier one... I spent a few hours trying to work out why it's not working, and it looks like a bug in Scala 2.13. As it says, the macro doesn't get expanded...
-
-
Contextual jumps through some roundabout hoops to invoke the macro without users needing to specify a `def prefix = macro Contextual.whatever` call, with a lot of complex types. This used to work well, but I think it's obscure enough that 2.13 doesn't know it needs to expand it.
-
The solution, I fear, is to replace all of this machinery which no longer works, and resort to the direct `macro Contextual...` invocation. Unfortunately, I think it's at least a full day's work, which I won't have before Christmas...
- Show replies
New conversation -
-
-
Oh, I'm sorry, that tweet was meant as a joke - my use case was simple enough that I ended up dropping the Contextual dependency to be able to add 2.13 support to my own libraries, people were starting to complain...
- Show replies
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.