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

Make no-body function declaration implicitly global #57562

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Keno
Copy link
Member

@Keno Keno commented Feb 27, 2025

These were the intended semantics of #57311 (and matches what it used to do in 1.11). Note however that this differs from the body-ful form, which now always tries to extend. Fixes #57546.

Note that this implementation is slightly inefficient since it goes through a binding replacement.
However, there's a change coming down the line which optimizes these replacements.
I do think it should eventually be refactored to just create the binding directly, but that's a little bit
of a larger change.

@Keno Keno force-pushed the kf/57546 branch 2 times, most recently from b212f07 to b2ccda1 Compare February 28, 2025 02:19
@Keno Keno added the backport 1.12 Change should be backported to release-1.12 label Feb 28, 2025
These were the intended semantics of #57311 (and matches what it
used to do in 1.11). Note however that this differs from the
body-ful form, which now always tries to extend. Fixes #57546.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.12 Change should be backported to release-1.12
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hint for "constructor extended without explicit qualification" warning doesn't work
1 participant