6b9aecbe5f
Implicit setters of covariant fields (both covariant by declaration and covariant by class aka generic-covariant-impl) need to perform a type check of their argument. It means that inferred type of the field cannot be used as inferred type of parameter of such setter. This change removes such uses of an inferred type of the field, which restores parameter type check which was previously incorrectly optimized out. TEST=runtime/tests/vm/dart/regress_63419_test.dart Fixes https://github.com/dart-lang/sdk/issues/63419 Change-Id: Ie313dbaab51dff15d60ce4390e7e41bdc66ad59d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/509020 Reviewed-by: Slava Egorov <vegorov@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
This package hosts VM specific Dart code and helper scripts.