-
Notifications
You must be signed in to change notification settings - Fork 29.7k
flip track widget creation on by default #43471
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
flip track widget creation on by default #43471
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
|
Waiting to see what this breaks .... |
…ter into enable_twc_by_default
| Cache.flutterRoot = '../..'; | ||
| return _testFile('print_user_created_ancestor_no_flag', automatedTestsDirectory, flutterTestDirectory); | ||
| return _testFile('print_user_created_ancestor_no_flag', automatedTestsDirectory, flutterTestDirectory, | ||
| extraArguments: const <String>['--no-track-widget-creation']); |
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.
we should run tests with --track-widget-creation by default. It provides a better experience when your tests have rendering errors as you can figure out where in your source code you likely triggered the error.
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.
Tests use the same track-widget-creation setting so they are on by default too. This test case is just testing the stack traces for twc being off, which is why I needed to switch the flag
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.
sgtm
jacob314
left a comment
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.

Description
This should have been flipped a long time ago. Hasn't been noticed since most IDE's specify true by default