Skip to content

Conversation

@LongCatIsLooong
Copy link
Contributor

@LongCatIsLooong LongCatIsLooong commented Oct 13, 2020

This reverts commit a57f45e. Passed on TGP (the failures seem unrelated).

Description

Revert the whitespaceformatter change. It will be updated in a followup PR (that updates input formatter logic).

Related Issues

Replace this paragraph with a list of issues related to this PR from our issue database. Indicate, which of these issues are resolved or fixed by this PR. There should be at least one issue listed here.

Tests

I added the following tests:

Replace this with a list of the tests that you added as part of this PR. A change in behavior with no test covering it
will likely get reverted accidentally sooner or later. PRs must include tests for all changed/updated/fixed behaviors. See Test Coverage.

Checklist

Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Did any tests fail when you ran them? Please read Handling breaking changes.

@flutter-dashboard flutter-dashboard bot added framework flutter/packages/flutter repository. See also f: labels. work in progress; do not review labels Oct 13, 2020
@google-cla google-cla bot added the cla: yes label Oct 13, 2020
@LongCatIsLooong
Copy link
Contributor Author

LongCatIsLooong commented Oct 13, 2020

Running TGP TGP passed.

@LongCatIsLooong LongCatIsLooong marked this pull request as ready for review October 13, 2020 22:02
// TODO(LongCatIsLooong): The if statement here is for retaining the
// previous behavior. The input formatter logic will be updated in an
// upcoming PR.
if (widget.inputFormatters?.isNotEmpty ?? false)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the only diff from the previous version.

The if statement seems unnecessary and I'll try to remove it in an upcoming PR.

Copy link
Contributor

@justinmc justinmc left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@fluttergithubbot fluttergithubbot merged commit 438c4ff into flutter:master Oct 16, 2020
@a14n a14n mentioned this pull request Oct 16, 2020
@LongCatIsLooong LongCatIsLooong deleted the reland-66864 branch October 16, 2020 16:39
@justinmc justinmc mentioned this pull request Oct 19, 2020
9 tasks
@lzhuor
Copy link

lzhuor commented Oct 19, 2020

Thanks! Looking forward to having this in the 1.22.3 release. #66144 is really the stopper of our project being upgraded to 1.22.

May I ask do have a plan of cherry-picking this fix into beta / stable channel? @renyou @justinmc .

https://github.com/flutter/flutter/wiki/Flutter-Cherrypick-Process

This process applies to regressions from the previous release or serious bugs otherwise introduced by the current release. Feature work is not considered for cherrypicking and will need to wait for the next release.

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

Labels

framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants