-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[plugin_platform_interface] Switch mixin to mixin class
#5420
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
[plugin_platform_interface] Switch mixin to mixin class
#5420
Conversation
The test mixin is currently declared as a `class`, which causes problems for projects with a minimum Dart version of 3.0. This switches it to `mixin class`; ideally it would just be a `mixin`, but in theory that could break something, so since this is such a core package in the ecosystem we want to be as conservative as possible. (While the breaking change would only in theory happen to test code, it's possible that someone ignored the `visibleForTesting`, and we have an easy way to avoid the possibility entirely.) Fixes flutter/flutter#123241
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 or stuartmorgan on the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
This is necessary in order to roll the repo minimums forward as usual for the stable release. |
test-exempt: the SDK minimum change is a test, since it would otherwise break compilation |
flutter/packages@07b4b29...c5443ad 2023-11-20 [email protected] [webview_flutter] Support for handling basic authentication requests (Platform Interface) (flutter/packages#5362) 2023-11-18 [email protected] Roll Flutter from 53a57ad to 6cf9ab0 (31 revisions) (flutter/packages#5426) 2023-11-18 [email protected] [shared_preferences_web] migrate to pkg:web (flutter/packages#5414) 2023-11-18 [email protected] [ci] Roll minimum allowable Flutter to 3.10 (flutter/packages#5425) 2023-11-18 [email protected] [path_provider_android] Run tests on AVDs running Android 34 (flutter/packages#5222) 2023-11-17 [email protected] [pigeon] isEnum, isClass, fix swift casting, default values, optional method arguments, named method arguments (flutter/packages#5355) 2023-11-17 [email protected] [plugin_platform_interface] Switch mixin to `mixin class` (flutter/packages#5420) 2023-11-17 [email protected] [go_router] Fixes use of `Iterable` (flutter/packages#5421) 2023-11-17 [email protected] [pigeon] Adds `analyzer` 6.x compatibility (flutter/packages#5418) 2023-11-17 [email protected] Update release step to 3.16 (flutter/packages#5416) 2023-11-17 [email protected] [file_selector_web] migrate to pkg:web (flutter/packages#5413) 2023-11-16 [email protected] [video_player] Improve macOS frame management (flutter/packages#5078) 2023-11-16 [email protected] Roll Flutter from e8c2bb1 to 53a57ad (39 revisions) (flutter/packages#5412) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
The test mixin is currently declared as a `class`, which causes problems for projects with a minimum Dart version of 3.0. This switches it to `mixin class`; ideally it would just be a `mixin`, but in theory that could break something, so since this is such a core package in the ecosystem we want to be as conservative as possible. (While the breaking change would only in theory happen to test code, it's possible that someone ignored the `visibleForTesting`, and we have an easy way to avoid the possibility entirely.) Fixes flutter/flutter#123241
The test mixin is currently declared as a `class`, which causes problems for projects with a minimum Dart version of 3.0. This switches it to `mixin class`; ideally it would just be a `mixin`, but in theory that could break something, so since this is such a core package in the ecosystem we want to be as conservative as possible. (While the breaking change would only in theory happen to test code, it's possible that someone ignored the `visibleForTesting`, and we have an easy way to avoid the possibility entirely.) Fixes flutter/flutter#123241
The test mixin is currently declared as a
class
, which causes problems for projects with a minimum Dart version of 3.0. This switches it tomixin class
; ideally it would just be amixin
, but in theory that could break something, so since this is such a core package in the ecosystem we want to be as conservative as possible. (While the breaking change would only in theory happen to test code, it's possible that someone ignored thevisibleForTesting
, and we have an easy way to avoid the possibility entirely.)Fixes flutter/flutter#123241
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style.///
).