-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Migrates packages/flutter to from hashValues to Object.hash
#96109
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
a54505d to
2adb804
Compare
2adb804 to
225d814
Compare
01c2285 to
45980bb
Compare
|
it would be great to also add an automatic fix so that people can migrate using |
That can be easily done for EDIT: currently, I have just added a 'rename' kind fix, for |
45980bb to
5aef27f
Compare
|
I removed the fix_data entries, as we are aiming for a large-scale dart fix (dart-lang/sdk#48204). Other than the failing checks (which idk why they are failing), this PR is ready. |
fdbd0e5 to
05423ee
Compare
Piinks
left a comment
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 LGTM - thank you! It looks like there are some outstanding merge conflicts though.
05423ee to
4d5bca7
Compare
|
Gold has detected about 38 new digest(s) on patchset 7. |
1 similar comment
|
Gold has detected about 38 new digest(s) on patchset 7. |
|
@Piinks Fixed the conflicts, can't seem to fix these checks. |
|
Did you update with a merge, or a rebase? I usually merge, but it can lead to issues with CI when a PR has gotten a bit old. Rebasing usually resolves it in that case. |
|
I have rebased. I have been rebasing for a long time in this PR itself, and these checks have failed every time. |
4d5bca7 to
c9918b0
Compare
…ter#96109) * migrates lib/foundation and lib/widgets * migrates lib/painting and lib/material * migrates lib/cupertino, lib/gestures, lib/services, lib/semantics and lib/rendering * fixes failing tests * migrates test/ * improves hashing of lists
Migrates packages/flutter from
hashValuesandhashListtoObject.hashandObject.hashAll. This series of PRs (for all packages) will migrate them before deprecatinghashValuesandhashList.#85431 (Doesn't close yet, as other packages need to be migrated)
Pre-launch Checklist
///).