Skip to content

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 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
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
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) deprecation This change introduces or involves a deprecation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants