Skip to content

Conversation

@cbracken
Copy link
Member

@cbracken cbracken commented Jun 8, 2018

Eliminates --preview-dart-2 flag from flutter_tools. All commands now run Dart 2 only.

@cbracken
Copy link
Member Author

cbracken commented Jun 8, 2018

Apologies for the giant patch. Each of the commits is pretty self-contained, which should make review a bit easier.

Since there's really no case where it makes sense to partially force the tool to operate in Dart 2 mode, the plan is to squash and merge in one go once it's through review.

Copy link
Contributor

Choose a reason for hiding this comment

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

You can just say "Include the kernel...", since there is no Dart 1...

Copy link
Member Author

Choose a reason for hiding this comment

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

Done!

@gspencergoog
Copy link
Contributor

Luckily there are a lot of deletes. Those are pretty easy to review. :-)

@gspencergoog
Copy link
Contributor

32384589-a60f0e74-c078-11e7-9bc1-e5b5287aea9d

@cbracken
Copy link
Member Author

cbracken commented Jun 8, 2018

Fixes #18278 (overall tracking bug #17051).

Copy link
Contributor

@tvolkert tvolkert left a comment

Choose a reason for hiding this comment

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

We should also be able to get rid of the *_dart1 benchmarks in the devicelab manifest.yaml.

Copy link
Contributor

@tvolkert tvolkert left a comment

Choose a reason for hiding this comment

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

LGTM

After this, we get to delete the new usages!

@cbracken cbracken merged commit ed63e70 into flutter:master Jun 8, 2018
@cbracken cbracken deleted the delete-dart-1 branch June 8, 2018 18:05
cbracken added a commit to cbracken/flutter that referenced this pull request Jun 8, 2018
Several benchmarks started failing during kernel compile:
1. Timeouts:
   * commands_test
   * hot_mode_dev_cycle__benchmark
   * run_machine_concurrent_hot_reload
   * service_extensions_test

2. Kernel compiler crash:
   * hot_mode_dev_cycle_linux__benchmark
   * routing_test

3. Unexpected termination:
   * hot_mode_dev_cycle_win__benchmark

This reverts commit ed63e70.
cbracken added a commit that referenced this pull request Jun 8, 2018
Several benchmarks started failing during kernel compile:
1. Timeouts:
   * commands_test
   * hot_mode_dev_cycle__benchmark
   * run_machine_concurrent_hot_reload
   * service_extensions_test

2. Kernel compiler crash:
   * hot_mode_dev_cycle_linux__benchmark
   * routing_test

3. Unexpected termination:
   * hot_mode_dev_cycle_win__benchmark

This reverts commit ed63e70.
cbracken added a commit to cbracken/flutter that referenced this pull request Jun 8, 2018
Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
benchmarks. All commands now run in Dart 1 mode only.

Eliminates --preview-dart-2 / --no-preview-dart-2 support.
cbracken added a commit that referenced this pull request Jun 8, 2018
* It's time to #deleteDart1 (#18293)

Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
benchmarks. All commands now run in Dart 1 mode only.

Eliminates --preview-dart-2 / --no-preview-dart-2 support.

* Fix indentation, remove no longer necessary .toList()

* Only push udpated kernel if >0 invalidated srcs
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants