-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Disappearing function types in constructor arguments #29225
Comments
I think @peter-ahe-google or @stereotype441 fixed this not too long ago. |
This test is still marked as failing in checked mode. |
@peter-ahe-google I think that's because the buildbot running the checked mode tests is on FYI and nobody updated the status files, see build where it is passing:
Since I'm the gardener today, I'll update status files for it and start moving it to the main waterfall. It has the same cycle time as the other builders we have there (and since kernel integration is now getting integrated into flutter, which e.g. uses checked mode, we really need to ensure we test it (and act upon new failures )). |
Please don't move them to the main waterfall yet. I can't keep them green without doubling my testing time. |
I don't think our engineers are expected to run every single possible configuration for every CL before submitting. People should test what they think gives good coverage and let the buildbot do the exhaustive test matrix. It's not an ideal setup, but @whesse is working on getting us try bots atm. If we have something our customers are using, we have to know when we break it. Currently we don't get notified on any breakages for checked mode issues (as well as precompilation issues). People are pushing hard to get kernel support in the VM ready so flutter can also use it, so we really have to test it (whatever infrastructure we have available now). At least I'll update the status files for checked mode, and maybe prepare a CL we can land if there is agreement on the builder. |
Please discuss this with @mraleph. If I don't test all combinations and break something, my changes are likely to be reverted. In my opinion, it would be better to turn off checked mode until we have less bugs in production mode. |
There will be always be a tradeoff between trybot coverage (or local testing) completeness and resources used, so it is inevitable that some changes will get reverted when the full buildbot shows unexpected failures. If is easier to fix breakages in checked mode as they occur, rather than letting them build up, I think it is worth having more reverts happen. But just adding one checked configuration should catch most errors, and shouldn't double the testing matrix. |
Yes. It is a tradeoff. This is why @mraleph needs to be involved. |
From the test in
tests/language/function_subtype_inline2_test.dart
:Everything becomes
dynamic
.This is one of the issues that appears in checked-mode.
The text was updated successfully, but these errors were encountered: