8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2197e3b commit ae9d90aCopy full SHA for ae9d90a
overviews/macros/annotations.md
@@ -42,7 +42,7 @@ that the enclosing annotation is a macro annotation).
42
43
@compileTimeOnly("enable macro paradise to expand macro annotations")
44
class identity extends StaticAnnotation {
45
- def macroTransform(annottees: Any*) = macro ???
+ def macroTransform(annottees: Any*): Any = macro ???
46
}
47
48
First of all, note the `@compileTimeOnly` annotation. It is not mandatory, but is recommended to avoid confusion.
0 commit comments