Skip to content

Commit dddb999

Browse files
author
Dave Moon
committed
Tweak hygiene doc
1 parent 755fca0 commit dddb999

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/manual/metaprogramming.rst

+4
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,10 @@ Julia's automatic hygiene works by interpreting transparent variables
559559
in the macro *call* environment, but interpreting hygienic variables in
560560
the macro *definition* environment.
561561

562+
Note that if a macro constructs its result using explicit calls to ``Expr``
563+
instead of using ``quote`` or its abbreviation ``:`` the macro will not
564+
get automatic hygiene.
565+
562566
Hygienic or not?
563567
~~~~~~~~~~~~~~~~
564568

0 commit comments

Comments
 (0)