Scala 3 macros: “dynamically” instantiating singleton objects at compile-time
I’m trying to create a macro that makes use of some object
s.
How to generate a companion object in Scala 3?
I have several enums where there companion object code is identical to one another.