dart-sdk/runtime
Alexander Markov efab897725 [vm,aot] Fix type check in implicit setter of a covariant field
Inferred type of a covariant field should not be used as
an argument type of an implicit setter, as setter of a covariant
field performs a type check before assigning value to the field.

Correct such uses of covariant field types in unboxing
and AOT type propagation in order to avoid incorrect removal of
a type check in the implicit setter of a covariant field.

TEST=runtime/tests/vm/dart/regress_56051_test.dart
Fixes https://github.com/dart-lang/sdk/issues/56051

Change-Id: I55bfedfd96e918aac9597706c6eab1b81e1202ee
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/372721
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2024-06-25 14:34:20 +00:00
..
bin [vm/io] Follow up to c2e9cee 2024-06-20 19:55:19 +00:00
docs [vm] Cleanup obsolete pragma vm:non-nullable-result-type 2024-06-20 20:24:44 +00:00
include Add 'coverage' flag, defaulting to true, but let the gn application_snapshot default it to false 2024-06-18 09:10:00 +00:00
lib [vm, isolate] Remove some large safepoint pauses from send-and-exit validation. 2024-06-24 22:40:51 +00:00
observatory [VM/Debugger] Force valid breakpoints to resolve by ensuring functions are compiled 2024-06-24 22:00:28 +00:00
platform Revert "[vm] Move ResolveUri to bin" 2024-06-20 12:25:53 +00:00
tests [vm,aot] Fix type check in implicit setter of a covariant field 2024-06-25 14:34:20 +00:00
tools [vm] Remove --[no-]lazy-dispatchers flag. 2024-06-06 10:56:12 +00:00
vm [vm,aot] Fix type check in implicit setter of a covariant field 2024-06-25 14:34:20 +00:00
.clang-tidy
.gitignore
BUILD.gn [vm, compiler] Allow targeting TSAN or MSAN by passing a flag to gen_snapshot. 2024-05-08 17:03:59 +00:00
codereview.settings
configs.gni [Runtime] Add extra_product_deps and extra_nonproduct_deps params to "library_for_all_configs_with_compiler" template 2023-04-14 19:51:40 +00:00
CPPLINT.cfg [cpplint] Disable runtime/references lint 2023-01-23 18:21:48 +00:00
OWNERS
PRESUBMIT.py Reland "Reland "[VM] Begin supporting Perfetto file recorder"" 2023-04-18 19:39:05 +00:00
runtime_args.gni Reland "[Fuchsia] Remove the legacy gn build rules for fuchsia" 2024-03-14 20:22:12 +00:00
vm-jit.shard.cml [test] Cleanup building Fuchsia packages/components. 2023-10-31 17:11:51 +00:00
vm.shard.cml [fuchsia][sysmem2] route fuchsia.sysmem2.Allocator 2024-05-10 17:00:29 +00:00