Fix duplicate test case.

It's clear from the comments that the first case was meant to test the
variable `v` (which has type `Object?`), and the second was meant to
test the variable `d` (which has type `dynamic`), but they
accidentally were both referring to `v`.

Change-Id: I1c36350689d20fa8d86c7d1c66918307f5fe2253
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/214132
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
This commit is contained in:
Paul Berry 2021-09-22 15:47:26 +00:00 committed by commit-bot@chromium.org
parent fdf5014697
commit df6bb1f786

View file

@ -302,7 +302,7 @@ void main() {
// Parsed as a generic instantiation, but `d` is not generic function or type.
// Being dynamic doesn't help.
// Would be valid if parsed as operators.
expect1(v < X, X > (2));
expect1(d < X, X > (2));
// ^^^^^^^^
// [cfe] unspecified
// [analyzer] unspecified