a5baf4e15b
- In `setRange`, use `array.copy` instruction when the iterable argument is another Wasm-array-backed list. (instead of only when the iterable and `this` are identical) - In `setRange`, add special case for `SubListIterable`. - In `setAll`, use unchecked reads from `iterable` when it's a Wasm-array-backed list. Also fix various error checking in `setAll` and `setRange`. `setAll` and `setRange` tests updated to test handling of different types of iterable arguments. CoreLibraryReviewExempt: adds internal method Change-Id: Ib3ed566018e929950eac4d1f3d41dcd406003f91 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/383860 Reviewed-by: Martin Kustermann <kustermann@google.com> Reviewed-by: Lasse Nielsen <lrn@google.com> Commit-Queue: Ömer Ağacan <omersa@google.com>
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/tree/main/docs/Testing.md.