| 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 ec24bd4dde83d1c30a03c1f227c299f64b5596a6..060e5c5cf1b8b5b0e18e1881bdb58ddd41c25f4b 100644
|
| --- a/pkg/analyzer/test/src/summary/summary_common.dart
|
| +++ b/pkg/analyzer/test/src/summary/summary_common.dart
|
| @@ -5741,6 +5741,18 @@ class C {
|
| _assertUnlinkedConst(variable.constExpr, isInvalid: true);
|
| }
|
|
|
| + test_field_final_typeParameter() {
|
| + UnlinkedVariable variable = serializeClassText(r'''
|
| +class C<T> {
|
| + final f = <T>[];
|
| +}''').fields[0];
|
| + expect(variable.isFinal, isTrue);
|
| + _assertUnlinkedConst(variable.constExpr,
|
| + operators: [UnlinkedConstOperation.makeTypedList],
|
| + ints: [0],
|
| + referenceValidators: [(EntityRef r) => checkParamTypeRef(r, 1)]);
|
| + }
|
| +
|
| test_field_formal_param_inferred_type_explicit() {
|
| UnlinkedClass cls = serializeClassText(
|
| 'class C extends D { var v; C(int this.v); }'
|
|
|