Skip to content

Conversation

@a14n
Copy link
Contributor

@a14n a14n commented Aug 14, 2020

Description

NNBD migration for semantics

Related Issues

Tests

I added the following tests:

None

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

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

@flutter-dashboard flutter-dashboard bot added a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) framework flutter/packages/flutter repository. See also f: labels. labels Aug 14, 2020
@a14n a14n requested a review from goderbauer August 14, 2020 20:26
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 once it is clear why we need to disable that one lint and when we can re-enable it.

- non-nullable
errors:
always_require_non_null_named_parameters: false # not needed with nnbd
prefer_initializing_formals: false # https://github.com/dart-lang/linter/issues/2192
Copy link
Member

Choose a reason for hiding this comment

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

The issue linked is closed and from reading it it's not entirely clear to me what needs to happen to re-enable this?

Copy link
Member

Choose a reason for hiding this comment

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

https://github.com/dart-lang/linter/issues/2192 is re-opened because the issue is not resolved yet. With that this comment is resolved.

@goderbauer
Copy link
Member

Combined with the latest master, this PR is producing a dead_code analyzer warning. I am going to re-open it with an ignore for that at the right place to get it landed.

@goderbauer goderbauer closed this Aug 18, 2020
@goderbauer goderbauer mentioned this pull request Aug 18, 2020
13 tasks
@goderbauer
Copy link
Member

Superseded by #64055.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 18, 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