| Index: pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| diff --git a/pkg/analyzer/test/src/summary/resynthesize_test.dart b/pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| index dc8fd6d7f06efddcb450402dcba5449da3e48734..5d500d310fae350d1b8236c69c792bbc1a83fda9 100644
|
| --- a/pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| +++ b/pkg/analyzer/test/src/summary/resynthesize_test.dart
|
| @@ -2844,6 +2844,14 @@ class C {
|
| }''');
|
| }
|
|
|
| + test_field_static_final_untyped() {
|
| + checkLibrary('class C { static final x = 0; }');
|
| + }
|
| +
|
| + test_field_untyped() {
|
| + checkLibrary('class C { var x = 0; }');
|
| + }
|
| +
|
| test_function_documented() {
|
| checkLibrary('''
|
| // Extra comment so doc comment offset != 0
|
| @@ -4105,6 +4113,10 @@ var x;''');
|
| checkLibrary('final int x = 0;');
|
| }
|
|
|
| + test_variable_final_top_level_untyped() {
|
| + checkLibrary('final v = 0;');
|
| + }
|
| +
|
| test_variable_getterInLib_setterInPart() {
|
| addSource('/a.dart', 'part of my.lib; void set x(int _) {}');
|
| checkLibrary('library my.lib; part "a.dart"; int get x => 42;');
|
|
|