| 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 17e9c8a194c1f20b637b09c6b847716681fead2a..d416a5e0a16b42d9e0f9eecc95e69de0fdc33f21 100644
|
| --- a/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| @@ -3925,6 +3925,28 @@ class A {
|
| verify([source]);
|
| }
|
|
|
| + void test_nonConstantDefaultValue_is_constField() {
|
| + Source source = addSource(r'''
|
| +f([a = double.INFINITY]) {
|
| +}''');
|
| + computeLibrarySourceErrors(source);
|
| + assertNoErrors(source);
|
| + verify([source]);
|
| + }
|
| +
|
| + void test_nonConstantDefaultValue_is_constTypeList() {
|
| + Source source = addSource(r'''
|
| +class A {
|
| + m([p111 = const <String>[]]) {}
|
| +}
|
| +class B extends A {
|
| + m([p222 = const <String>[]]) {}
|
| +}''');
|
| + computeLibrarySourceErrors(source);
|
| + assertNoErrors(source);
|
| + verify([source]);
|
| + }
|
| +
|
| void test_nonConstantDefaultValue_method_named() {
|
| Source source = addSource(r'''
|
| class A {
|
|
|