mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 01:21:07 +00:00
3a0c27b74c
Expandos collide after a hot restart. This currently fails because the DDC implementation uses a static field (_keyCounter) to compute a unique name for each expando. After a hot-restart the counter gets reset and keys get reused accidentally. A hacky fix would be to ensure this field is not reset after restarts, but a more robust fix would be to use a weak map implementation like dart2js does. Change-Id: I991874aabf836be66cbd44de07dd38e681415ae7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/199221 Reviewed-by: Nicholas Shahan <nshahan@google.com> |
||
---|---|---|
.. | ||
cast_error | ||
debugger | ||
assertion_failure_message_test.dart | ||
basic_assignment_test.dart | ||
const_test.dart | ||
hot_restart_expando_test.dart | ||
hot_restart_js_interop_test.dart | ||
hot_restart_late_test.dart | ||
hot_restart_test.dart | ||
hot_restart_timer_test.dart | ||
js_interop_test.dart | ||
libraries_part.dart | ||
libraries_test.dart | ||
no_such_method_errors_test.dart | ||
runtime_utils.dart | ||
runtime_utils_nnbd.dart | ||
subtype_test.dart | ||
subtype_weak_test.dart | ||
type_normalization_test.dart | ||
utils.dart | ||
variance_subtype_test.dart | ||
variance_test.dart | ||
weak_null_safety_errors_test.dart |