Skip to content

Conversation

@aam
Copy link
Member

@aam aam commented Dec 1, 2017

We don't need to explicitly pass previewDart2 option - it is part of BuildInfo which is populated based on --preview-dart-2 option passed. We need to use it from BuildInfo so it works correctly for build run --preview-dart-2 --profile/--release.

Copy link
Contributor

@alexmarkov alexmarkov left a comment

Choose a reason for hiding this comment

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

LGTM

DebuggingOptions debuggingOptions,
Map<String, dynamic> platformArgs,
bool prebuiltApplication: false,
bool previewDart2: false,
Copy link
Contributor

Choose a reason for hiding this comment

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

Also consider cleaning up 'previewDart2' argument in FuchsiaDevice.startApp() in fuchsia_device.dart.

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, thanks!

@aam aam merged commit 5a1dcdb into flutter:master Dec 1, 2017
@aam aam deleted the fix-preview-dart-2-for-ios-release branch December 1, 2017 01:17
DaveShuckerow pushed a commit to DaveShuckerow/flutter that referenced this pull request May 14, 2018
…#13285)

* Fix --preview-dart2 option handling for ios profile/release.

* Remove unused parameter
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 12, 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