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

Use the module specific names in names() instead of the binding #42532

Merged
merged 1 commit into from
Nov 1, 2021

Conversation

Pangoraw
Copy link
Contributor

@Pangoraw Pangoraw commented Oct 7, 2021

As reported in #42527, the imported values that are aliased have their original name as binding->name (unlike the modules). However, the key of the binding table has the relevant name so this can be used in the names function to always get the aliased version.

Fixes #42527

@JeffBezanson
Copy link
Sponsor Member

Thanks, very helpful first PR!

@KristofferC
Copy link
Sponsor Member

Rebased to get another CI run.

@KristofferC KristofferC added the status:merge me PR is reviewed. Merge when all tests are passing label Oct 31, 2021
@DilumAluthge DilumAluthge merged commit 8d82176 into JuliaLang:master Nov 1, 2021
@DilumAluthge DilumAluthge removed the status:merge me PR is reviewed. Merge when all tests are passing label Nov 1, 2021
@Pangoraw Pangoraw deleted the aliased_bindings_42527 branch November 1, 2021 07:01
KristofferC pushed a commit that referenced this pull request Nov 2, 2021
KristofferC pushed a commit that referenced this pull request Nov 7, 2021
KristofferC pushed a commit that referenced this pull request Nov 11, 2021
KristofferC pushed a commit that referenced this pull request Nov 12, 2021
@KristofferC KristofferC removed backport 1.6 Change should be backported to release-1.6 backport 1.7 labels Nov 13, 2021
staticfloat pushed a commit that referenced this pull request Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

names does not include as-renamed import
6 participants