-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Conversation
a885ba7
to
687ba4d
Compare
385177d
to
1d4cbcb
Compare
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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]). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meta.lower(module, ex)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Fixed. Thanks! :)
Absent objections or requests for time, I plan to merge these changes tomorrow. Best! |
Thanks all! :) |
Ran NEWS-update.jl to refresh link references.
This pull request deprecates
expand([module, ]ex)
toMeta.lower(module, ex)
, addressing #23808. Best!