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

Gen locale#35236

Merged
dnfield merged 3 commits intoflutter:mainfrom
dnfield:gen_locale
Aug 9, 2022
Merged

Gen locale#35236
dnfield merged 3 commits intoflutter:mainfrom
dnfield:gen_locale

Conversation

@dnfield
Copy link
Contributor

@dnfield dnfield commented Aug 8, 2022

flutter/flutter#108933

Tested manually by running the script and making sure it produces same output before and after.

@dnfield dnfield requested a review from goderbauer August 8, 2022 18:34
@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
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

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

LGTM

// this script (the first set for _canonicalizeLanguageCode and the second set
// for _canonicalizeRegionCode).

// ignore_for_file: avoid_print
Copy link
Member

Choose a reason for hiding this comment

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

This shouldn't be necessary since there's a global opt-out for the tools directory in https://github.com/flutter/engine/blob/main/tools/analysis_options.yaml.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My IDE was complaining about this but maybe it wasn't properly configured?

@Hixie
Copy link
Contributor

Hixie commented Aug 9, 2022

test-exempt: code refactor with no semantic change

@dnfield dnfield merged commit 010813d into flutter:main Aug 9, 2022
@dnfield dnfield deleted the gen_locale branch August 9, 2022 20:08
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 9, 2022
emilyabest pushed a commit to emilyabest/engine that referenced this pull request Aug 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants