Skip to content

Commit 7b0d528

Browse files
Sacha0tkelman
authored andcommitted
Add NEWS.md entry for macro hygiene fix (#15850). (#21820)
(cherry picked from commit a898a50)
1 parent 694e69d commit 7b0d528

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

NEWS.md

+7
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,12 @@ This section lists changes that do not have deprecation warnings.
220220
`airybiprimex`, `airyaix`, `airybix`, `airyaiprimex`, `airybiprimex`)
221221
([#18050]).
222222
223+
* When a macro is called in the module in which that macro is defined, global variables
224+
in the macro are now correctly resolved in the macro definition environment. Breakage
225+
from this change commonly manifests as undefined variable errors that do not occur
226+
under 0.5. Fixing such breakage typically requires sprinkling additional `esc`s in
227+
the offending macro ([#15850]).
228+
223229
* `write` on an `IOBuffer` now returns a signed integer in order to be
224230
consistent with other buffers ([#20609]).
225231
@@ -449,6 +455,7 @@ Deprecated or removed
449455
[#11310]: https://github.com/JuliaLang/julia/issues/11310
450456
[#12274]: https://github.com/JuliaLang/julia/issues/12274
451457
[#12563]: https://github.com/JuliaLang/julia/issues/12563
458+
[#15850]: https://github.com/JuliaLang/julia/issues/15850
452459
[#16213]: https://github.com/JuliaLang/julia/issues/16213
453460
[#16961]: https://github.com/JuliaLang/julia/issues/16961
454461
[#16984]: https://github.com/JuliaLang/julia/issues/16984

0 commit comments

Comments
 (0)