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

Raise diagnostic on impl inference cycle. #4367

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

gilbens-starkware
Copy link
Contributor

@gilbens-starkware gilbens-starkware commented Nov 6, 2023

This change is Reviewable

Copy link
Collaborator

@orizi orizi left a comment

Choose a reason for hiding this comment

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

Reviewed 6 of 6 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @gilbens-starkware)


crates/cairo-lang-semantic/src/items/imp.rs line 734 at r1 (raw file):

        }
        let Ok(concrete_trait_id) = uninferred_impl.concrete_trait(db) else {
            println!("Failed to get concrete trait for {:?}", uninferred_impl.debug(db.elongate()));

remove.

@gilbens-starkware gilbens-starkware force-pushed the gil/impl_infer_diag branch 2 times, most recently from 9bcf870 to 5a67bc1 Compare November 6, 2023 13:04
Copy link
Contributor Author

@gilbens-starkware gilbens-starkware left a comment

Choose a reason for hiding this comment

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

Reviewable status: 3 of 6 files reviewed, 1 unresolved discussion (waiting on @orizi)


crates/cairo-lang-semantic/src/items/imp.rs line 734 at r1 (raw file):

Previously, orizi wrote…

remove.

Done.

Copy link
Collaborator

@orizi orizi left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 3 of 3 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @gilbens-starkware)

@gilbens-starkware gilbens-starkware changed the base branch from main to dev-v2.4.0 November 6, 2023 13:12
Copy link
Contributor Author

@gilbens-starkware gilbens-starkware left a comment

Choose a reason for hiding this comment

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

Reviewed all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @gilbens-starkware)

@gilbens-starkware gilbens-starkware added this pull request to the merge queue Nov 6, 2023
Merged via the queue into dev-v2.4.0 with commit 5878fcf Nov 6, 2023
38 checks passed
@orizi orizi deleted the gil/impl_infer_diag branch November 9, 2023 10:37
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