54d7b0307b
This change will optimize code generation for contravariant checks on variantly sound type parameters. We avoid emitting `_check()`s. This will also add the change to ensure that reified types of torn off methods are correct. Change-Id: Ic7a4aa8f92b5e3489f7cd590070772358ef2c84b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/124108 Commit-Queue: Kallen Tu <kallentu@google.com> Reviewed-by: Leaf Petersen <leafp@google.com> Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>