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.
2 parents 549af61 + dde579a commit 4071bcbCopy full SHA for 4071bcb
overviews/macros/bundles.md
@@ -31,7 +31,8 @@ ask a macro to help it with type inference?
31
32
Macro bundles provide a solution to these problems by allowing macro implementations to be declared in traits, which extend
33
`scala.reflect.macros.Macro`. This base trait predefines the `c: Context` variable, relieving macro implementations from having
34
-to declare it in their signatures, which simplifies modularization.
+to declare it in their signatures, which simplifies modularization. Later on `Macro` could come with preloaded callback methods
35
+such as, for example, `onInfer`.
36
37
trait Macro{
38
val c: Context
0 commit comments