mirror of
https://github.com/dart-lang/sdk
synced 2024-09-06 00:59:09 +00:00
![]() 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> |
||
---|---|---|
.. | ||
metadata | ||
modular | ||
native_assets | ||
testing | ||
transformations | ||
dominators.dart | ||
http_filesystem.dart | ||
incremental_compiler.dart | ||
kernel_front_end.dart | ||
target_os.dart |