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

deprecate expand(module, ex) to Meta.lower(module, ex) #24278

Merged
merged 1 commit into from
Oct 25, 2017

Conversation

Sacha0
Copy link
Member

@Sacha0 Sacha0 commented Oct 22, 2017

This pull request deprecates expand([module, ]ex) to Meta.lower(module, ex), addressing #23808. Best!

@Sacha0 Sacha0 added kind:deprecation This change introduces or involves a deprecation compiler:lowering Syntax lowering (compiler front end, 2nd stage) labels Oct 22, 2017
@Sacha0 Sacha0 added this to the 1.0 milestone Oct 22, 2017
@Sacha0 Sacha0 force-pushed the expandlower branch 2 times, most recently from a885ba7 to 687ba4d Compare October 22, 2017 19:39
@Sacha0 Sacha0 force-pushed the expandlower branch 2 times, most recently from 385177d to 1d4cbcb Compare October 23, 2017 01:09
NEWS.md Outdated
@@ -383,6 +383,9 @@ Deprecated or removed
which now require a module argument.
And it caused the bugfix of other default arguments to use the Main module (including `whos`, `which`).

* `expand(ex)` and `expand(module, ex)` have been deprecated in favor of
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps add a reference to #22064 and mention that expand(ex) is deprecated as well? There does not seem to be any news about that deprecation, and makes sense to mention them both in the same bullet point here.

Copy link
Member Author

Choose a reason for hiding this comment

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

The immediately preceding news item covers #22064 :). The reference to #22064 occurs midstream rather than at the end of that news item. I will move that reference to the end of the that news item, and also add it to the news item for this pull request just for good measure :).

NEWS.md Outdated
@@ -383,6 +383,9 @@ Deprecated or removed
which now require a module argument.
And it caused the bugfix of other default arguments to use the Main module (including `whos`, `which`).

* `expand(ex)` and `expand(module, ex)` have been deprecated in favor of
`Meta.lower(ex)` ([#24278]).
Copy link
Member

Choose a reason for hiding this comment

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

Meta.lower(module, ex) ?

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 catch! Fixed. Thanks! :)

@Sacha0
Copy link
Member Author

Sacha0 commented Oct 24, 2017

Absent objections or requests for time, I plan to merge these changes tomorrow. Best!

@JeffBezanson JeffBezanson merged commit b867d8b into JuliaLang:master Oct 25, 2017
@Sacha0
Copy link
Member Author

Sacha0 commented Oct 26, 2017

Thanks all! :)

@Sacha0 Sacha0 deleted the expandlower branch October 26, 2017 00:38
StefanKarpinski pushed a commit that referenced this pull request Jan 2, 2018
Ran NEWS-update.jl to refresh link references.
StefanKarpinski added a commit that referenced this pull request Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:lowering Syntax lowering (compiler front end, 2nd stage) kind:deprecation This change introduces or involves a deprecation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants