mirror of
https://github.com/dart-lang/sdk
synced 2024-07-01 07:14:29 +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> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
test | ||
testcases/transformations | ||
tool | ||
analysis_options.yaml | ||
dynamic_interface.md | ||
LICENSE | ||
OWNERS | ||
pubspec.yaml | ||
README.md |
This package hosts VM specific Dart code and helper scripts.