-
Notifications
You must be signed in to change notification settings - Fork 490
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 destructors in cycle detectors. #5335
Conversation
Suggestion: destruct_trait |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 8 files at r1, all commit messages.
Reviewable status: 2 of 8 files reviewed, 1 unresolved discussion (waiting on @orizi)
what happend to this? Code quote: info.clone(), Some(DropPosition::Panic(stmt.location) |
bc30dc1
to
31b0ed5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 2 of 8 files reviewed, 2 unresolved discussions (waiting on @ilyalesokhin-starkware)
crates/cairo-lang-lowering/src/borrow_check/mod.rs
line 33 at r1 (raw file):
success: Maybe<()>, block_extra_calls: OrderedHashMap<BlockId, Vec<FunctionId>>, destruct_fn: TraitFunctionId,
it is the fn id - not the trait.
crates/cairo-lang-lowering/src/borrow_check/mod.rs
line 158 at r1 (raw file):
Previously, ilyalesokhin-starkware wrote…
what happend to this?
the location became larger - so i extract it to a variable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 8 files at r1, 8 of 8 files at r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @orizi)
31b0ed5
to
f9b1741
Compare
This change is