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

Added warnings for bad embeddable impls. #4796

Merged
merged 1 commit into from
Jan 15, 2024
Merged

Conversation

orizi
Copy link
Collaborator

@orizi orizi commented Jan 14, 2024

Stack:

⚠️ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.


This change is Reviewable

Copy link
Contributor

@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: 0 of 4 files reviewed, 1 unresolved discussion (waiting on @orizi)


crates/cairo-lang-starknet/src/analyzer.rs line 44 at r1 (raw file):

            diagnostics.push(PluginDiagnostic::warning(
                item.stable_ptr().untyped(),
                "impls with the embeddable attribute must implement a starknet interface trait."

Suggestion:

Impls with the embeddable

@orizi orizi changed the base branch from pr/orizi/release-prep/83a29e99 to main January 15, 2024 10:46
@orizi orizi force-pushed the pr/orizi/release-prep/48280088 branch from d0cb517 to 5d29b8b Compare January 15, 2024 10:46
Copy link
Collaborator Author

@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 4 of 4 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @orizi)

@orizi orizi enabled auto-merge January 15, 2024 10:47
Copy link
Contributor

@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.

:lgtm:

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

@orizi orizi added this pull request to the merge queue Jan 15, 2024
Merged via the queue into main with commit 7f16083 Jan 15, 2024
42 checks passed
@orizi orizi deleted the pr/orizi/release-prep/48280088 branch January 22, 2024 11:03
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