| Index: pkg/analyzer/test/src/summary/summary_test.dart
|
| diff --git a/pkg/analyzer/test/src/summary/summary_test.dart b/pkg/analyzer/test/src/summary/summary_test.dart
|
| index c5dfffcc52a29f148305f30cea2dd5ffb8853e31..959526e34975a2f30d1367a9f62f8e1fb50b1e5f 100644
|
| --- a/pkg/analyzer/test/src/summary/summary_test.dart
|
| +++ b/pkg/analyzer/test/src/summary/summary_test.dart
|
| @@ -757,6 +757,21 @@ class E {}
|
| expect(unlinkedUnits[0].publicNamespace.names, isEmpty);
|
| }
|
|
|
| + test_class_alias_reference_generic() {
|
| + UnlinkedTypeRef typeRef = serializeTypeText('C',
|
| + otherDeclarations: 'class C<D, E> = F with G; class F {} class G {}');
|
| + checkTypeRef(typeRef, null, null, 'C', numTypeParameters: 2);
|
| + }
|
| +
|
| + test_class_alias_reference_generic_imported() {
|
| + addNamedSource(
|
| + '/lib.dart', 'class C<D, E> = F with G; class F {} class G {}');
|
| + UnlinkedTypeRef typeRef =
|
| + serializeTypeText('C', otherDeclarations: 'import "lib.dart";');
|
| + checkTypeRef(typeRef, absUri('/lib.dart'), 'lib.dart', 'C',
|
| + numTypeParameters: 2);
|
| + }
|
| +
|
| test_class_alias_supertype() {
|
| UnlinkedClass cls =
|
| serializeClassText('class C = D with E; class D {} class E {}');
|
|
|