| 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 cadb94a847a3736aa4f1df79b0a69dea5110e698..349cd0ac16e06bfe771b8505e3e908d168c81bf3 100644
|
| --- a/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| @@ -1462,6 +1462,19 @@ class A {
|
| verify([source]);
|
| }
|
|
|
| + void test_constWithNonConstantArgument_constField() {
|
| + Source source = addSource(r'''
|
| +class A {
|
| + const A(x);
|
| +}
|
| +main() {
|
| + const A(double.INFINITY);
|
| +}''');
|
| + computeLibrarySourceErrors(source);
|
| + assertNoErrors(source);
|
| + verify([source]);
|
| + }
|
| +
|
| void test_constWithNonConstantArgument_literals() {
|
| Source source = addSource(r'''
|
| class A {
|
|
|