| Index: pkg/analyzer/test/src/summary/resynthesize_common.dart
|
| diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart
|
| index f1d475bc5678945dce0b8f4374eef80f0f46f671..c091db90431358a7f0000aa160b4bdb0fd8b1ced 100644
|
| --- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
|
| +++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
|
| @@ -3118,6 +3118,15 @@ class B extends A {}
|
| checkLibrary('export "a.dart"; export "b.dart";');
|
| }
|
|
|
| + test_expr_invalid_typeParameter_asPrefix() {
|
| + variablesWithNotConstInitializers.add('f');
|
| + checkLibrary('''
|
| +class C<T> {
|
| + final f = T.k;
|
| +}
|
| +''');
|
| + }
|
| +
|
| test_field_covariant() {
|
| checkLibrary('''
|
| class C {
|
| @@ -4641,6 +4650,16 @@ bool f() => true;
|
| checkLibrary('dynamic d;');
|
| }
|
|
|
| + test_type_invalid_typeParameter_asPrefix() {
|
| + checkLibrary(
|
| + '''
|
| +class C<T> {
|
| + m(T.K p) {}
|
| +}
|
| +''',
|
| + allowErrors: true);
|
| + }
|
| +
|
| test_type_reference_lib_to_lib() {
|
| checkLibrary('class C {} enum E { v } typedef F(); C c; E e; F f;');
|
| }
|
|
|