Skip to content

Commit 2dd4472

Browse files
committed
Add NEWS.md entry for macro hygiene fix (#15850).
1 parent 1129de3 commit 2dd4472

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
@@ -419,6 +425,7 @@ Deprecated or removed
419425
[#11310]: https://github.com/JuliaLang/julia/issues/11310
420426
[#12274]: https://github.com/JuliaLang/julia/issues/12274
421427
[#12563]: https://github.com/JuliaLang/julia/issues/12563
428+
[#15850]: https://github.com/JuliaLang/julia/issues/15850
422429
[#16213]: https://github.com/JuliaLang/julia/issues/16213
423430
[#16961]: https://github.com/JuliaLang/julia/issues/16961
424431
[#16984]: https://github.com/JuliaLang/julia/issues/16984

0 commit comments

Comments
 (0)