mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 11:03:19 +00:00
efab897725
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> |
||
---|---|---|
.. | ||
bin | ||
docs | ||
include | ||
lib | ||
observatory | ||
platform | ||
tests | ||
tools | ||
vm | ||
.clang-tidy | ||
.gitignore | ||
BUILD.gn | ||
codereview.settings | ||
configs.gni | ||
CPPLINT.cfg | ||
OWNERS | ||
PRESUBMIT.py | ||
runtime_args.gni | ||
vm-jit.shard.cml | ||
vm.shard.cml |