Flow analysis: Fix test function name.

In a previous commit, I accidentally named these test functions
`test`.  Replace with a more descriptive name.

Bug: https://github.com/dart-lang/sdk/issues/44898
Change-Id: I662b6003a893dbb05fea88000f39e4e56b0cb725
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196107
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
This commit is contained in:
Paul Berry 2021-04-20 21:59:18 +00:00 committed by commit-bot@chromium.org
parent fc3ce31d39
commit add079c222
2 changed files with 2 additions and 2 deletions

View file

@ -446,7 +446,7 @@ class C33 {
int? bad;
}
test(C33 c) {
explicitExtensionInvocation(C33 c) {
if (c.bad == null) return;
E33(c.
/*notPromoted(propertyNotPromoted(target: member:C33.bad, type: int?))*/ bad)

View file

@ -655,7 +655,7 @@ class C33 {
// [context 94] 'bad' refers to a property so it couldn't be promoted.
}
test(C33 c) {
explicitExtensionInvocation(C33 c) {
if (c.bad == null) return;
E33(c.bad).f();
// ^^^^^