Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/_docs/reference/metaprogramming/macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "Macros"
nightlyOf: https://docs.scala-lang.org/scala3/reference/metaprogramming/macros.html
---

> **Warning:** Always enable `-Xcheck-macros` when developing macros. Without it, the compiler will not validate generated code, which may be unsound and lead to undefined behavior.
> When developing macros, enable the `-Xcheck-macros` compiler option to run extra safety checks.

## Multi-Staging

Expand Down
2 changes: 1 addition & 1 deletion docs/_spec/TODOreference/metaprogramming/macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "Macros"
nightlyOf: https://docs.scala-lang.org/scala3/reference/metaprogramming/macros.html
---

> **Warning:** Always enable `-Xcheck-macros` when developing macros. Without it, the compiler will not validate generated code, which may be unsound and lead to undefined behavior.
> When developing macros, enable the `-Xcheck-macros` compiler option to run extra safety checks.

## Multi-Staging

Expand Down
Loading