| Index: pkg/analyzer/test/src/summary/summary_common.dart
|
| diff --git a/pkg/analyzer/test/src/summary/summary_common.dart b/pkg/analyzer/test/src/summary/summary_common.dart
|
| index fbac15476ceb2d2bcd328b679dabff26433d667a..f72111488262a9da52cdca6cd22f9d323d6c0df7 100644
|
| --- a/pkg/analyzer/test/src/summary/summary_common.dart
|
| +++ b/pkg/analyzer/test/src/summary/summary_common.dart
|
| @@ -4767,6 +4767,15 @@ class C {
|
| UnlinkedVariable variable =
|
| serializeClassText('class C { static int i; }').fields[0];
|
| expect(variable.isStatic, isTrue);
|
| + expect(variable.constExpr, isNull);
|
| + }
|
| +
|
| + test_field_static_final() {
|
| + UnlinkedVariable variable =
|
| + serializeClassText('class C { static final int i = 0; }').fields[0];
|
| + expect(variable.isStatic, isTrue);
|
| + expect(variable.isFinal, isTrue);
|
| + expect(variable.constExpr, isNull);
|
| }
|
|
|
| test_fully_linked_references_follow_other_references() {
|
|
|