Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

add missing break statements in makeWithLocalMatrix#35346

Merged
auto-submit[bot] merged 1 commit intoflutter:mainfrom
flar:add-missing-makeWithLocalMatrix-breaks
Aug 11, 2022
Merged

add missing break statements in makeWithLocalMatrix#35346
auto-submit[bot] merged 1 commit intoflutter:mainfrom
flar:add-missing-makeWithLocalMatrix-breaks

Conversation

@flar
Copy link
Contributor

@flar flar commented Aug 11, 2022

These were missed in the original code review, but by luck the missing break statements wouldn't actually cause an issue because the code just works without them anyway. No tests because there is no change in behavior when you add the break statements so there is no programmatic way to know if they are present or missing.

@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.

Copy link
Contributor

@CaseyHillers CaseyHillers left a comment

Choose a reason for hiding this comment

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

Are there any blockers to add the clang check as well?

@flar
Copy link
Contributor Author

flar commented Aug 11, 2022

Are there any blockers to add the clang check as well?

Blockers? While such checks would have caught this, I don't consider their absence an immediate blocker - more like a good preventative idea.

Copy link
Contributor

@CaseyHillers CaseyHillers left a comment

Choose a reason for hiding this comment

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

LGTM to unblock the internal rolls.

We should follow up adding the clang check to prevent future breakages from landing.

@CaseyHillers CaseyHillers added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 11, 2022
@auto-submit auto-submit bot merged commit dc3f179 into flutter:main Aug 11, 2022
@flar
Copy link
Contributor Author

flar commented Aug 11, 2022

LGTM to unblock the internal rolls.

We should follow up adding the clang check to prevent future breakages from landing.

@zanderso ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App needs tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants