mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 01:30:32 +00:00
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:
parent
fc3ce31d39
commit
add079c222
|
@ -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)
|
||||
|
|
|
@ -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();
|
||||
// ^^^^^
|
||||
|
|
Loading…
Reference in a new issue