Files
sdk/pkg/front_end/testcases/variance
Kallen Tu 166f83dc7e [cfe] Fix variance inference with interface subtype matching.
After switching over to NNBD, variance inference started failing because
we no longer used variance to subtype match.

This CL adds a null-aware subtype matching fn for the current algorithm.

Bug: https://github.com/dart-lang/sdk/issues/43419
Change-Id: Ifecc58a7537c0656f089cc3f8aca7fd4289be6d2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/334721
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Kallen Tu <kallentu@google.com>
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
2023-11-09 21:04:42 +00:00
..