[dart-announce] Breaking change 56468: Mark IOOverrides as base
27 views
Skip to first unread message
'Ben Konyi' via Dart Announcements
unread,
Aug 29, 2024, 2:24:13 PM8/29/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to anno...@dartlang.org
The IOOverrides class specifies the default behavior of several dart:io APIs and can be extended by developers to override the default behavior (e.g., for testing).
Since this class provides default implementations for each overridable API and allowing for developers to implement IOOverrides means changing the interface is always a breaking change, issue 56468 proposes that IOOverrides should be marked as a base class, meaning it can only be extended and not implemented.