Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add NEWS.md entry for macro hygiene fix #21820

Merged
merged 1 commit into from
May 13, 2017
Merged

Conversation

Sacha0
Copy link
Member

@Sacha0 Sacha0 commented May 12, 2017

Clears #15850 from #21475 (comment). (Well, hopefully --- someone properly familiar with the macro hygiene fix in #15850 should check this news entry's wording!). Best!

@Sacha0 Sacha0 added the needs news A NEWS entry is required for this change label May 12, 2017
@Sacha0 Sacha0 added this to the 0.6.0 milestone May 12, 2017
@ararslan ararslan removed this from the 0.6.0 milestone May 12, 2017
NEWS.md Outdated
@@ -220,6 +220,9 @@ This section lists changes that do not have deprecation warnings.
`airybiprimex`, `airyaix`, `airybix`, `airyaiprimex`, `airybiprimex`)
([#18050]).

* When a macro is called in the module in which that macro is defined, global variables
in the macro are now correctly resolved in the macro definition environment ([#15850]).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since this was so breaking, we should mention what the symptoms and fix look like - usually undefined variable errors that didn't occur in 0.5, and a few more calls to esc, respectively

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call! How does the present iteration look? Roughly what you had in mind, or had you something else / additional in mind? Thanks!

@tkelman tkelman merged commit a898a50 into JuliaLang:master May 13, 2017
in the macro are now correctly resolved in the macro definition environment. Breakage
from this change commonly manifests as undefined variable errors that do not occur
under 0.5. Fixing such breakage typically requires sprinkling additional `esc`s in
the offending macro ([#15850]).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@Sacha0 Sacha0 deleted the news15850 branch May 13, 2017 16:30
@Sacha0 Sacha0 removed the needs news A NEWS entry is required for this change label May 13, 2017
tkelman pushed a commit that referenced this pull request May 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants