A Scala compiler plugin can hook in after any of these stages: https://typelevel.org/scala/docs/phases.html … The API is a bit gnarly and almost certainly will need huge changes to work with Scala 3. But it's there and you can do pretty much anything you want
-
-
-
I'm keen to avoid a compiler plugin if possible, though it would be a valid way to do this. To elaborate on the problem, I have an unknown number of macro expansions happening during typer, and I want to print a report (once only) when all of them have run.
- Show replies
New conversation -
-
-
This sounds ideal... I shall investigate further! :)
End of conversation
New conversation -
-
time a Thread.sleep(...) juuuuuuust right
-
It totally crossed my mind... ;)
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.