-
Notifications
You must be signed in to change notification settings - Fork 28.7k
Roll engine with rolled dart #14538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roll engine with rolled dart #14538
Conversation
AppVeyor builder is not happy:
@devoncarew have you seen this? cc @leafpetersen too |
Some changes to the Map interface landed today: ServiceMap in flutter_tools/lib/src/vmservice.dart needs to be updated |
I think @jason-simmons is right in that we'll need to update the flutter repo a bit in response to these changes (/cc @leafpetersen) |
After moving to dev.22 and fixing few analysis issues I'm seeing new ones:
|
/cc'ing @bwilkerson for the |
In The decoration_test lines are failing because the analyzer is rejecting this line in the FlutterLogoDecoration ctor: This line isn't valid in a const constructor. Previously the code had an The test in list_wheel_scroll_view_test is trying to validate that the constructor raises an assertion for invalid arguments. The analyzer wants the constructor to be invoked as const, and then it's seeing the assertion during analysis. |
We're probably hitting dart-lang/sdk#26980. It may be time to fix that bug. |
|
regarding reverting #14544 this was done to avoid getting runtime errors in --preview-dart-2 mode as the front end is not ready yet for it. We should be getting a fix soon from the front end team which will enable us to reland those changes. |
Okay alternative approach is what 08f754e is doing which is to silence analyzer warnings |
Travis build passes but now flutter gallery run with
|
@aam this looks like a type inference bug, let dig into it. |
@aam I think you need to purge your build folder and delete any dill files left out. Something is broken in the rebuild logic. I have noticed it occasionally before - dill files are not properly rebuild on engine upgrades. # In ~/src/flutter/flutter/examples/flutter_gallery
$ rm -rf build && find . -iname '*.dill' -exec rm '{}' ';' This should fix it. However it might be worth looking into why dill is not regenerated for you. |
@@ -14,10 +14,10 @@ void main() { | |||
group('construction check', () { | |||
testWidgets('ListWheelScrollView needs positive diameter ratio', (WidgetTester tester) async { | |||
try { | |||
new ListWheelScrollView( | |||
new ListWheelScrollView( // ignore: prefer_const_constructors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can use nonconst()
on one of the arguments to fix this more cleanly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good to know. Done.
You are right, that fixed the problem.
I see. One thing that is missing is deps file generation when kernel file(rather than snapshot) is generated. Not sure if it could cause stale builds though. |
* master: (88 commits) Upgrade dartdoc to 0.16.0. (flutter#14602) Reduce noise in xcodebuild stdout (flutter#14586) Add annotations to ignore analyzer errors on pre-dev.22 SDKs (flutter#14599) Roll engine to 337764e (flutter#14597) Roll engine with rolled dart (flutter#14538) Upgrade packages (flutter#14588) Change GlobalObjectKey.toString to strip away State<StatefulWidget>. (flutter#14558) Disable selection of the Android ARM64 target platform based on the attached device (flutter#14581) Add a flutter run option that can override the default target platform (flutter#14537) Fix message channel usage in few tests. (flutter#14557) Update documentation on how to test flutter_tools (flutter#14567) Fix text_style_text.dart to be Dart 2 compliant. (flutter#14559) Hide the NDK warning that should never happen with a regexp (flutter#14503) Fix iOS build which broke after the change to fuse --strong option into --preview-dart-2. Mark run_machine_concurrent_hot_reload as flaky (flutter#14563) Fuse --strong into --preview-dart-2 option. Partially fix Dart 2 issues in animated_icons.test. (flutter#14531) Strong mode fixes in tests (flutter#14520) Fix typo. Fix issues. ...
Edit: See below, this PR had a regression in aot_snapshot size metrics, separate from the regression this comment originally mentioned. |
I think the regressions come from 83e0ca2, not from this patch per se. We are investigating why iOS benchmark stopped reporting. |
Sorry, my bad. This patch had a minor regressive impact on the aot_snapshot size metrics. I just got confused as to which PR I was commenting on. |
* Roll engine to pre-dart roll * Roll engine to pick up updated dart * Apply Map changes * Move to dev.22 * Fix some analysis issues * Silent analyzer * More consts * More const massaging * Yet more const massaging * Yet more const massaging * Use nonconst()
No description provided.