Static return type of Scala macros
This behavior is underspecified but intended, though it might appear confusing. We plan to elaborate on the role of return type in macro signatures, but at the moment I feel like the flexibility is a good thing to have. Also at times the behavior is inconsistent, e.g. when the macro is caught in the middle … Read more