-
Notifications
You must be signed in to change notification settings - Fork 14
feat!: Expand SimpleReplacement::ApplyResult type #2085
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
Conversation
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.
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feat/rewrite-trait #2085 +/- ##
======================================================
- Coverage 82.91% 82.90% -0.01%
======================================================
Files 217 217
Lines 41529 41536 +7
Branches 37707 37714 +7
======================================================
+ Hits 34433 34437 +4
- Misses 5292 5295 +3
Partials 1804 1804
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
855f60e
to
4b836c9
Compare
4b836c9
to
706a887
Compare
Given that we are delaying the merge of all breaking change PRs, I've chosen to merge this into #2070 and already resolve the merge conflict. |
Oh - sorry I didn't spot what you were doing here - I'd have suggested merging into the |
It is currently impossible to obtain the map from nodes in the replacement graph to newly inserted nodes in `self` from the `ApplyResult` type for `SimpleReplacement`. This PR fixes this. BREAKING CHANGE: The `ApplyResult` associated type of `SimpleReplacement` is now a custom struct. The deleted nodes returned previously can be obtained using the `result.deleted_nodes` field.
It is currently impossible to obtain the map from nodes in the replacement graph to newly inserted nodes in
self
from theApplyResult
type forSimpleReplacement
.This PR fixes this.
BREAKING CHANGE: The
ApplyResult
associated type ofSimpleReplacement
is now a custom struct. The deleted nodes returned previously can be obtained using theresult.deleted_nodes
field.