Skip to content

Conversation

@jonahwilliams
Copy link
Contributor

@jonahwilliams jonahwilliams commented Jun 10, 2022

Migrates all lib/ code to null safety for the flutter tool. This requires ignoring a warning on the import of package:dwds, which is not null safe yet.

Additionally tests were not migrated, because dart migrate was having problems with them. We may need a more incremental approach there.

#71511

@flutter-dashboard flutter-dashboard bot added a: text input Entering text in a text field or keyboard related problems tool Affects the "flutter" command-line tool. See also t: labels. labels Jun 10, 2022
DevToolsDomain devToolsDomain;
ProxyDomain proxyDomain;
StreamSubscription<DaemonMessage> _commandSubscription;
late DaemonDomain daemonDomain;
Copy link
Contributor

Choose a reason for hiding this comment

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

this looks sus, but i doubt we can fix it without a refactor.

@flutter-dashboard flutter-dashboard bot added platform-ios iOS applications specifically c: contributor-productivity Team-specific productivity, code health, technical debt. labels Jun 11, 2022
@jonahwilliams jonahwilliams changed the title partial null safety migration [flutter_tool] partial null safety migration of tool source code Jun 11, 2022
Copy link
Contributor

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

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

LGTM

@jonahwilliams
Copy link
Contributor Author

of course removing the meta dep breaks g3

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 15, 2022
@auto-submit auto-submit bot merged commit 9203448 into flutter:master Jun 15, 2022
@jonahwilliams jonahwilliams deleted the migrate_1 branch June 15, 2022 20:19
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: text input Entering text in a text field or keyboard related problems autosubmit Merge PR when tree becomes green via auto submit App c: contributor-productivity Team-specific productivity, code health, technical debt. platform-ios iOS applications specifically tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants