Skip to content

implicit-casts:false in flutter/lib/src/semantics#45722

Merged
a14n merged 1 commit intoflutter:masterfrom
a14n:implicit-casts-false-flutter-lib-semantics
Dec 4, 2019
Merged

implicit-casts:false in flutter/lib/src/semantics#45722
a14n merged 1 commit intoflutter:masterfrom
a14n:implicit-casts-false-flutter-lib-semantics

Conversation

@a14n
Copy link
Copy Markdown
Contributor

@a14n a14n commented Nov 27, 2019

Description

Enable implicit-casts:false in flutter/lib/src/semantics

Related Issues

None

Tests

None because it's a refactoring.

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

Does your PR require Flutter developers to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
  • No, this is not a breaking change.

@fluttergithubbot fluttergithubbot added a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) framework flutter/packages/flutter repository. See also f: labels. labels Nov 27, 2019
@fluttergithubbot
Copy link
Copy Markdown
Contributor

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.

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

@a14n a14n force-pushed the implicit-casts-false-flutter-lib-semantics branch from 5381f77 to f6f75f2 Compare November 28, 2019 06:49
return typedOther.label == label
&& typedOther.hint == hint
&& typedOther.action == action;
return other is CustomSemanticsAction
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Same as in the other PRs, we already know that other is assignable to CustomSemanticsAction.

final SemanticsHintOverrides typedOther = other;
return typedOther.onTapHint == onTapHint
&& typedOther.onLongPressHint == onLongPressHint;
return other is SemanticsHintOverrides
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Same here.

Copy link
Copy Markdown
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

@a14n a14n merged commit 4049460 into flutter:master Dec 4, 2019
@a14n a14n deleted the implicit-casts-false-flutter-lib-semantics branch December 4, 2019 07:59
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants