| Index: pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| diff --git a/pkg/analyzer/test/generated/non_error_resolver_test.dart b/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| index 56aa853cbf64ad4112326614eb67b9385f199277..719d159d4321adac987bdab92a3e6a6d413f11e9 100644
|
| --- a/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| @@ -3719,6 +3719,21 @@ f(bool pb, pd) {
|
| verify([source]);
|
| }
|
|
|
| + void test_nonBoolNegationExpression_dynamic() {
|
| + Source source = addSource(r'''
|
| +f1(bool dynamic) {
|
| + !dynamic;
|
| +}
|
| +f2() {
|
| + bool dynamic = true;
|
| + !dynamic;
|
| +}
|
| +''');
|
| + computeLibrarySourceErrors(source);
|
| + assertNoErrors(source);
|
| + verify([source]);
|
| + }
|
| +
|
| void test_nonBoolOperand_and_bool() {
|
| Source source = addSource(r'''
|
| bool f(bool left, bool right) {
|
|
|