Skip to content

Commit a898a50

Browse files
Sacha0tkelman
authored andcommitted
Add NEWS.md entry for macro hygiene fix (#15850). (#21820)
1 parent 03721cb commit a898a50

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

NEWS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,12 @@ This section lists changes that do not have deprecation warnings.
251251
`airybiprimex`, `airyaix`, `airybix`, `airyaiprimex`, `airybiprimex`)
252252
([#18050]).
253253
254+
* When a macro is called in the module in which that macro is defined, global variables
255+
in the macro are now correctly resolved in the macro definition environment. Breakage
256+
from this change commonly manifests as undefined variable errors that do not occur
257+
under 0.5. Fixing such breakage typically requires sprinkling additional `esc`s in
258+
the offending macro ([#15850]).
259+
254260
* `write` on an `IOBuffer` now returns a signed integer in order to be
255261
consistent with other buffers ([#20609]).
256262
@@ -484,6 +490,7 @@ Deprecated or removed
484490
[#11310]: https://github.com/JuliaLang/julia/issues/11310
485491
[#12274]: https://github.com/JuliaLang/julia/issues/12274
486492
[#12563]: https://github.com/JuliaLang/julia/issues/12563
493+
[#15850]: https://github.com/JuliaLang/julia/issues/15850
487494
[#16213]: https://github.com/JuliaLang/julia/issues/16213
488495
[#16961]: https://github.com/JuliaLang/julia/issues/16961
489496
[#16984]: https://github.com/JuliaLang/julia/issues/16984

0 commit comments

Comments
 (0)