Skip to content

bugfix: Decide the number of snapshots by the last member of the deref chain.#8971

Merged
orizi merged 1 commit intomainfrom
orizi/12-08-bugfix_decide_the_number_of_snapshots_by_the_last_member_of_the_deref_chain
Dec 9, 2025
Merged

bugfix: Decide the number of snapshots by the last member of the deref chain.#8971
orizi merged 1 commit intomainfrom
orizi/12-08-bugfix_decide_the_number_of_snapshots_by_the_last_member_of_the_deref_chain

Conversation

@orizi
Copy link
Collaborator

@orizi orizi commented Dec 8, 2025

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Collaborator Author

orizi commented Dec 8, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@orizi orizi marked this pull request as ready for review December 8, 2025 14:30
@orizi orizi force-pushed the orizi/12-08-bugfix_decide_the_number_of_snapshots_by_the_last_member_of_the_deref_chain branch from 60b2dff to 764b116 Compare December 8, 2025 14:50
@orizi orizi enabled auto-merge December 8, 2025 14:51
Copy link
Contributor

@eytan-starkware eytan-starkware left a comment

Choose a reason for hiding this comment

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

@eytan-starkware reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: 1 of 2 files reviewed, 1 unresolved discussion (waiting on @orizi and @TomerStarkware)


crates/cairo-lang-semantic/src/expr/test_data/deref line 208 at r2 (raw file):

//! > ==========================================================================

//! > Final deref return values should decide the number of snapshots.

Please add a test with more then one snapshot, and with a more intiricate deref path w/wo snapshots

@orizi orizi force-pushed the orizi/12-08-bugfix_decide_the_number_of_snapshots_by_the_last_member_of_the_deref_chain branch from 764b116 to d5af869 Compare December 8, 2025 16:55
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.

Reviewable status: 1 of 2 files reviewed, 1 unresolved discussion (waiting on @eytan-starkware and @TomerStarkware)


crates/cairo-lang-semantic/src/expr/test_data/deref line 208 at r2 (raw file):

Previously, eytan-starkware wrote…

Please add a test with more then one snapshot, and with a more intiricate deref path w/wo snapshots

regarding intricate paths without snapshots - these are basically the existing tests.
the "intiricacy of the path" is already tested.

added multiple snapshots.

Copy link
Contributor

@eytan-starkware eytan-starkware left a comment

Choose a reason for hiding this comment

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

@eytan-starkware reviewed 1 of 1 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @TomerStarkware)

@orizi orizi added this pull request to the merge queue Dec 9, 2025
Merged via the queue into main with commit e2c8201 Dec 9, 2025
54 checks passed
@orizi orizi deleted the orizi/12-08-bugfix_decide_the_number_of_snapshots_by_the_last_member_of_the_deref_chain branch December 10, 2025 16:15
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.

3 participants