dart-sdk/runtime/observatory
Lasse R.H. Nielsen 5573ce7b84 Make Iterable be the default implementation of itself.
Makes `Iterable` a mixin class with a `const` constructor,
and `IterableBase` and `IterableMixin` (to-be-deprecated) aliases
for it.

Combining everything in one place avoids (some) code
duplication.

Also gave the methods a quick overhaul for formatting,
removing uses of `late` and unnecessary element accesses,
and some general tweaks.

CoreLibraryReviewExempt: Refactoring of redundant types.
Tested: Refactoring. If existing tests work, it works.
Change-Id: Ie49a88f713d386d2d118c53606a71bdd50e1eb11
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/287600
Reviewed-by: Brian Quinlan <bquinlan@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2023-04-04 21:45:19 +00:00
..
bin Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
lib [vm, reload] NoSuchMethodError after a static target goes missing or changes signature. 2023-03-30 19:27:17 +00:00
tests Make Iterable be the default implementation of itself. 2023-04-04 21:45:19 +00:00
tool Change references to "dartfmt" in runtime and tools to "dart format". 2021-10-01 18:16:27 +00:00
web Spelling runtime observatory 2023-01-20 14:29:08 +00:00
.gitignore [observatory] remove unused_imports and some unused variables 2023-02-15 16:49:58 +00:00
analysis_options.yaml Reland "[analyzer] Move 4 more HintCodes to be WarningCodes, UNUSED_*" 2023-03-28 21:26:58 +00:00
BUILD.gn [build] Use relative paths. 2023-03-08 22:10:42 +00:00
HACKING.md [ VM / Service / Observatory ] The VM service now requires an authentication code by default. 2019-04-09 22:57:29 +00:00
observatory_sources.gni [ Observatory ] Remove footer with dead / irrelevant links 2021-10-11 23:30:24 +00:00
pubspec.yaml [observatory] remove unused_imports and some unused variables 2023-02-15 16:49:58 +00:00
update_sources.py [infra] Migrate scripts to python3 2021-04-15 10:10:20 +00:00