File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ This opens a number of new possibilities in code generation land.
32
32
33
33
In this walkthrough we will write a silly, but very useful macro that does nothing except for logging the annottees.
34
34
As a first step, we define an annotation that inherits ` StaticAnnotation ` and defines a ` macroTransform ` macro
35
- (the name ` macroTransform ` is important as it tells the macro engine that the enclosing annotation is a macro annotation).
35
+ (the name ` macroTransform ` and the signature ` annottees: Any* ` of that macro are important as they tell the macro engine
36
+ that the enclosing annotation is a macro annotation).
36
37
37
38
import scala.reflect.macros.Context
38
39
import scala.language.experimental.macros
You can’t perform that action at this time.
0 commit comments