dart-sdk/pkg/vm/lib
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
..
metadata [vm,dart2wasm,tfa] Support dynamic interface in TFA 2024-06-10 17:28:10 +00:00
modular [cfe] Move fasta/codes/ to src/ and rename to cfe_codes* 2024-06-20 09:36:39 +00:00
native_assets Cleanup unsound mode from pkg/vm, frontend_server and dart2native 2024-04-29 14:18:01 +00:00
testing [vm] Enable test pattern (a&b == 0) fusion in AOT on X64/ARM64 2024-05-11 08:53:29 +00:00
transformations [vm,aot] Fix type check in implicit setter of a covariant field 2024-06-25 14:34:20 +00:00
dominators.dart
http_filesystem.dart
incremental_compiler.dart
kernel_front_end.dart [pkg/vm] Consolidate kernel compilation options to an object 2024-06-10 22:56:50 +00:00
target_os.dart