dart-sdk/runtime/observatory_2
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 [observatory] remove unused_imports and some unused variables 2023-02-15 16:49:58 +00:00
lib [VM/Service] Fix service_2/valid_source_locations_test by updating observatory_2's stringToInstanceKind() 2023-04-04 18:10:29 +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 Copy Dart 2 version of Observatory and service tests. 2020-10-07 22:20:25 +00:00
analysis_options.yaml [SDK] Removes non-exiting tests from .status 2021-02-04 06:46:13 +00:00
BUILD.gn [infra] Upgrade checked-in SDKs to 2.18.0-271.0.dev 2022-07-15 04:48:41 +00:00
HACKING.md Copy Dart 2 version of Observatory and service tests. 2020-10-07 22:20:25 +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