Skip to content

Conversation

@cbracken
Copy link
Member

@cbracken cbracken commented Jun 8, 2018

This re-lands ed63e70 with an indentation fix and a patch to skip recompile,
kernel file push when no source files have been invalidated -- e.g. asset-only
changes.

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 3 commits June 8, 2018 12:56
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.
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.

RSLGTM

@cbracken
Copy link
Member Author

cbracken commented Jun 8, 2018

Fixes #18278 (overall tracking bug #17051).

@cbracken cbracken merged commit 3daebd0 into flutter:master Jun 8, 2018
@cbracken cbracken deleted the re-kill-dart1 branch June 8, 2018 22:53
@cbracken
Copy link
Member Author

cbracken commented Jun 8, 2018

Investigating some hot reload benchmark regressions that may or may not be expected.

cbracken added a commit to cbracken/flutter that referenced this pull request Jun 13, 2018
cbracken added a commit that referenced this pull request Jun 13, 2018
fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly
from source, flutter_platform.dart automatically runs a kernel compile when
operating in Dart 2 mode, but this assumes a functional Dart SDK is available
in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts
directory with an empty temp dir.

Remaining work is:
1. Get the frontend server building as a dependency on Fuchsia.
2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server.

This also reverts migration to Dart 2 typedef syntax.

This reverts commit 6c56bb2. (#18362)
This reverts commit 3daebd0. (#18316)
@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.

3 participants