mirror of
https://github.com/dart-lang/sdk
synced 2024-07-08 20:16:39 +00:00
Make intent explicit for classes which are intended as interfaces, or which are not intended to be subclassed. Mainly classes which are pure interfaces are marked as such, and platform-specific classes not intended for subclassing are made `final`. The `final` classes includes `BigInt`, which is written to assume that arguments inherit its private members (it runs `_ensureSystemBigInt` on arguments). It also includes the `Expando`, `WeakReference` and `Finalizer` classes, which are just intended as stand-alone implementation classes for accessing platform-specific functionality. Change-Id: Ib770c265edff127a289a67fe72d15b9ff0499407 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/287180 Reviewed-by: Stephen Adams <sra@google.com> Commit-Queue: Lasse Nielsen <lrn@google.com> Reviewed-by: Aske Simon Christensen <askesc@google.com> Reviewed-by: Nate Bosch <nbosch@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> |
||
---|---|---|
.. | ||
ffi | ||
.gitignore | ||
OWNERS | ||
README | ||
samples.status |
This directory contains sample Dart programs.