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

Remove all binding results ranking and use all found definitions instead #1195

Merged
merged 17 commits into from
Dec 27, 2024

Conversation

ggiraldez
Copy link
Contributor

This PR removes resolve_definition() and consequently all the ranking machinery associated with it, including C3 linearisation and bindings context, which was used for virtual method lookups. Also deprecates binding assertions in favour of straight snapshots. This simplifies the binding resolution code quite a bit.

@ggiraldez ggiraldez requested review from a team as code owners December 17, 2024 22:10
Copy link

changeset-bot bot commented Dec 17, 2024

⚠️ No Changeset found

Latest commit: 5f7607c

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 enabled auto-merge December 17, 2024 22:10
Copy link
Contributor

@OmarTawfik OmarTawfik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a couple of questions.

@ggiraldez ggiraldez requested a review from OmarTawfik December 23, 2024 21:19
@ggiraldez ggiraldez added this pull request to the merge queue Dec 27, 2024
Merged via the queue into NomicFoundation:main with commit ba075d1 Dec 27, 2024
1 check passed
@ggiraldez ggiraldez deleted the remove-ranking branch December 27, 2024 05:39
github-merge-queue bot pushed a commit that referenced this pull request Jan 2, 2025
Rebasing #1198 on latest after #1195 was merged.

---------

Co-authored-by: Gustavo Giráldez <[email protected]>
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.

2 participants