Index: pkg/analyzer/test/src/task/dart_test.dart |
diff --git a/pkg/analyzer/test/src/task/dart_test.dart b/pkg/analyzer/test/src/task/dart_test.dart |
index 8c081f7456428527bdadb3c4cbc736296677d1ec..cedcb9b093be92ff5defc63d54fa37fd625b89c4 100644 |
--- a/pkg/analyzer/test/src/task/dart_test.dart |
+++ b/pkg/analyzer/test/src/task/dart_test.dart |
@@ -3695,6 +3695,22 @@ class U { |
expect(info.userToDependsOn['U'], unorderedEquals(['A', 'B'])); |
} |
+ test_class_extendedUsedUnnamedConstructorNames() { |
+ ReferencedNames info = _computeReferencedNames(''' |
+class U1 extends A { |
+ U1() : super(); |
+} |
+class U2 extends p.B { |
+ U2() : super(); |
+} |
+class U3 extends p.C { |
+ U3() : super.named(); |
+} |
+'''); |
+ expect( |
+ info.extendedUsedUnnamedConstructorNames, unorderedEquals(['A', 'B'])); |
+ } |
+ |
test_class_field() { |
ReferencedNames info = _computeReferencedNames(''' |
class U { |