score:1

just like with old-style macros, the scalameta code needs to be defined in a separate compilation unit so that they get compiled first and can then be invoked while compiling the other sources.

thanks to https://www.michaelpollmeier.com/2016/12/01/scalameta-code-generation-tutorial


Related Query

More Query from same tag