Skip to content

Revert "Minor change type nullability"#113246

Merged
jmagman merged 1 commit intomasterfrom
revert-112778-patch-21
Oct 11, 2022
Merged

Revert "Minor change type nullability"#113246
jmagman merged 1 commit intomasterfrom
revert-112778-patch-21

Conversation

@jmagman
Copy link
Member

@jmagman jmagman commented Oct 11, 2022

Reverts #112778

This caused gallery to stop building: #113245

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@flutter-dashboard flutter-dashboard bot added f: scrolling Viewports, list views, slivers, etc. framework flutter/packages/flutter repository. See also f: labels. labels Oct 11, 2022
@jmagman jmagman requested a review from goderbauer October 11, 2022 00:56
@jmagman
Copy link
Member Author

jmagman commented Oct 11, 2022

cc @fzyzcjy

@jmagman jmagman added the revert Autorevert PR (with "Reason for revert:" comment) label Oct 11, 2022
Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

LGTM

@fzyzcjy
Copy link
Contributor

fzyzcjy commented Oct 11, 2022

So, shall I update that sample which breaks tree and PR again, or shall I just leave it there (the imperfect nullability)? 👀

Btw is there any methods I can know it will break the tree before merging - I do not intend to do so :(

@jmagman
Copy link
Member Author

jmagman commented Oct 11, 2022

Btw is there any methods I can know it will break the tree before merging - I do not intend to do so :(

You can check if https://github.com/flutter/gallery flutter runs on your change. I filed #113248 so we can build that project in presubmit to catch breakages.

@fzyzcjy
Copy link
Contributor

fzyzcjy commented Oct 11, 2022

@jmagman Thanks!

@fzyzcjy
Copy link
Contributor

fzyzcjy commented Oct 11, 2022

FYI, upstream PR created: letsar/flutter_staggered_grid_view#274

@jmagman
Copy link
Member Author

jmagman commented Oct 11, 2022

FYI, upstream PR created: letsar/flutter_staggered_grid_view#274

@fzyzcjy I am not an expert in this, but I believe that this test failure makes this a breaking change? Can you make sure to coordinate in Discord with #hackers-framework about what to do instead of just changing flutter_staggered_grid_view?

@fzyzcjy
Copy link
Contributor

fzyzcjy commented Oct 11, 2022

but I believe that this test failure makes this a breaking change

You are right, I forgot that and will do that soon.

CaseyHillers pushed a commit to CaseyHillers/flutter that referenced this pull request Oct 13, 2022
CaseyHillers pushed a commit that referenced this pull request Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

f: scrolling Viewports, list views, slivers, etc. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants