commit | add079c2224d852c23b9dec921c93f493af89888 | [log] [tgz] |
---|---|---|
author | Paul Berry <paulberry@google.com> | Tue Apr 20 21:59:18 2021 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Tue Apr 20 21:59:18 2021 +0000 |
tree | f4fc7b4cef56d2096ae8558e4c8c5481520ae957 | |
parent | fc3ce31d392dee3a879ed65ca2584c75dd9bb1f1 [diff] |
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>
diff --git a/pkg/_fe_analyzer_shared/test/flow_analysis/why_not_promoted/data/argument_type_not_assignable_nullability_error.dart b/pkg/_fe_analyzer_shared/test/flow_analysis/why_not_promoted/data/argument_type_not_assignable_nullability_error.dart index 3421716..d7c28eb 100644 --- a/pkg/_fe_analyzer_shared/test/flow_analysis/why_not_promoted/data/argument_type_not_assignable_nullability_error.dart +++ b/pkg/_fe_analyzer_shared/test/flow_analysis/why_not_promoted/data/argument_type_not_assignable_nullability_error.dart
@@ -446,7 +446,7 @@ int? bad; } -test(C33 c) { +explicitExtensionInvocation(C33 c) { if (c.bad == null) return; E33(c. /*notPromoted(propertyNotPromoted(target: member:C33.bad, type: int?))*/ bad)
diff --git a/tests/language/why_not_promoted/argument_type_not_assignable_nullability_error_test.dart b/tests/language/why_not_promoted/argument_type_not_assignable_nullability_error_test.dart index c74a8b2..9ff7eb0 100644 --- a/tests/language/why_not_promoted/argument_type_not_assignable_nullability_error_test.dart +++ b/tests/language/why_not_promoted/argument_type_not_assignable_nullability_error_test.dart
@@ -655,7 +655,7 @@ // [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(); // ^^^^^