mirror of
https://github.com/dart-lang/sdk
synced 2024-07-20 18:05:01 +00:00
![]() We have an optimization that will do list lookups at compile time when the receiver is a constant list and the index is a constant integer. => We should only perform this optimization if index is in-bounds. => If it's out-of-bounds it should be a [RangeError] thrown at runtime (if that code is ever executed) Closes https://github.com/dart-lang/sdk/issues/55817 Change-Id: I3e99cdd96c79e7ff3f490babb2d52131cbd83a88 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/368302 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Ömer Ağacan <omersa@google.com> |
||
---|---|---|
.. | ||
co19 | ||
corelib | ||
dartdevc | ||
ffi | ||
hot_reload | ||
language | ||
lib | ||
macro_build | ||
modular | ||
standalone | ||
web | ||
legacy_status_dart2js.csv | ||
OWNERS | ||
README.md |
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.