-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Mark FlutterIOOverrides as final
#9719
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
Conversation
In preparation for marking `IOOverrides` as `base`. Related to dart-lang/sdk#56468
|
It looks like this pull request may not have tests. Please make sure to add tests or get an explicit test exemption before merging. 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.If you believe this PR qualifies for a test exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group. |
finalFlutterIOOverrides as final
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.
Code Review
This pull request marks the FlutterIOOverrides class as final. This is a good practice that aligns with modern Dart standards, preventing the class from being extended, implemented, or mixed in outside of its library. This change improves code robustness and maintainability, especially in preparation for the upstream IOOverrides class being marked as base. The change is correct and I have no further suggestions.
|
This is needed to unblock the failing analyze check on the SDK change: https://dart-review.googlesource.com/c/sdk/+/389520 |
|
test-exempt: unblocks a compilation failure |
stuartmorgan-g
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.
LGTM
flutter/packages@db6988d...f0645d8 2025-08-01 [email protected] Mark `FlutterIOOverrides` as `final` (flutter/packages#9719) 2025-07-31 [email protected] [in_app_purchase_storekit] Updated comment (flutter/packages#9445) 2025-07-31 [email protected] [video_player] Separate event stream from player on iOS (flutter/packages#9700) 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] 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
flutter/packages@db6988d...f0645d8 2025-08-01 [email protected] Mark `FlutterIOOverrides` as `final` (flutter/packages#9719) 2025-07-31 [email protected] [in_app_purchase_storekit] Updated comment (flutter/packages#9445) 2025-07-31 [email protected] [video_player] Separate event stream from player on iOS (flutter/packages#9700) 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] 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
flutter/packages@db6988d...f0645d8 2025-08-01 [email protected] Mark `FlutterIOOverrides` as `final` (flutter/packages#9719) 2025-07-31 [email protected] [in_app_purchase_storekit] Updated comment (flutter/packages#9445) 2025-07-31 [email protected] [video_player] Separate event stream from player on iOS (flutter/packages#9700) 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] 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
flutter/packages@db6988d...f0645d8 2025-08-01 [email protected] Mark `FlutterIOOverrides` as `final` (flutter/packages#9719) 2025-07-31 [email protected] [in_app_purchase_storekit] Updated comment (flutter/packages#9445) 2025-07-31 [email protected] [video_player] Separate event stream from player on iOS (flutter/packages#9700) 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] 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
flutter/packages@db6988d...f0645d8 2025-08-01 [email protected] Mark `FlutterIOOverrides` as `final` (flutter/packages#9719) 2025-07-31 [email protected] [in_app_purchase_storekit] Updated comment (flutter/packages#9445) 2025-07-31 [email protected] [video_player] Separate event stream from player on iOS (flutter/packages#9700) 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] 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
flutter/packages@db6988d...f0645d8 2025-08-01 [email protected] Mark `FlutterIOOverrides` as `final` (flutter/packages#9719) 2025-07-31 [email protected] [in_app_purchase_storekit] Updated comment (flutter/packages#9445) 2025-07-31 [email protected] [video_player] Separate event stream from player on iOS (flutter/packages#9700) 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] 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
In preparation for marking
IOOverridesasbase.Related to dart-lang/sdk#56468