-
Notifications
You must be signed in to change notification settings - Fork 61
Title: Fix ForEach state bookkeeping (#632) and stabilize animation snapshots (#690) #797
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -399,7 +399,7 @@ private class ForEachState<Data, ID, Content> where Data: RandomAccessCollection | |
| if item.isRemoved { | ||
| foundActiveItem = false | ||
| } else { | ||
| newEdits = edits | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the only change in this PR. But I do not agree on this change. Also it seems it does not solve the AG namespace issue. You need to construct case and reproduce the crash locally. And then provide your fix solution. |
||
| newEdits.removeValue(forKey: id) | ||
| foundActiveItem = true | ||
| } | ||
| } else { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -153,7 +153,7 @@ __OSX_AVAILABLE(10.10) __IOS_AVAILABLE(8.2); | |
| * | ||
| * @return | ||
| * 0 if tracing is disabled or `debugid` is being filtered out of trace. | ||
| * It can also return (int64_t)-1 if an error occured. Otherwise, | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Respect the original kdebug doc from SDK. |
||
| * It can also return (int64_t)-1 if an error occurred. Otherwise, | ||
| * it returns the ID to use to refer to the string in future | ||
| * kdebug_trace(2) calls. | ||
| * | ||
|
|
||
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.
This PR still does not fix the issue. I know we can pass the case by setting precision. But that was not what we want.