Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion overviews/macros/bundles.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -31,7 +31,8 @@ ask a macro to help it with type inference?

Macro bundles provide a solution to these problems by allowing macro implementations to be declared in traits, which extend
`scala.reflect.macros.Macro`. This base trait predefines the `c: Context` variable, relieving macro implementations from having
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
such as, for example, `onInfer`.

trait Macro{
val c: Context
Expand Down