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

Fix global using extensions propagation across multiple files #1252

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

ggiraldez
Copy link
Contributor

Closes #1249

Global extensions were being hooked directly to the source unit's lexical scope instead of using a proper extensions scope. That meant it would only apply if the type reference was located in the same file as the using directive and would break eg. for functions in imported files returning the extended type.

Closes NomicFoundation#1249

Global extensions were being hooked directly to the source unit's lexical scope
instead of using a proper extensions scope. That meant it would only apply if
the type reference was located in the same file as the `using` directive and
would break eg. for functions in imported files returning the extended type.
@ggiraldez ggiraldez requested review from a team as code owners February 18, 2025 21:31
Copy link

changeset-bot bot commented Feb 18, 2025

⚠️ No Changeset found

Latest commit: 2b15776

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ggiraldez ggiraldez added this pull request to the merge queue Feb 19, 2025
Merged via the queue into NomicFoundation:main with commit fdc83ba Feb 19, 2025
2 checks passed
@ggiraldez ggiraldez deleted the fix/1249 branch February 19, 2025 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test top-level extensions binding
2 participants