Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(722)

Unified Diff: pkg/front_end/testcases/shaker/target_class_constructor_lib.dart

Issue 3004943002: Transitively include outlines of all public members of Class(es). (Closed)
Patch Set: Include only referenced constructor and static class members. Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/shaker/target_class_constructor_lib.dart
diff --git a/pkg/front_end/testcases/shaker/transitive_class_type_parameter_bound_lib.dart b/pkg/front_end/testcases/shaker/target_class_constructor_lib.dart
similarity index 55%
copy from pkg/front_end/testcases/shaker/transitive_class_type_parameter_bound_lib.dart
copy to pkg/front_end/testcases/shaker/target_class_constructor_lib.dart
index ef3ade94d36b6469aa2c7151568950ea6e327596..f74d689faa39882ef6098d6f9e92a4ab60763da1 100644
--- a/pkg/front_end/testcases/shaker/transitive_class_type_parameter_bound_lib.dart
+++ b/pkg/front_end/testcases/shaker/target_class_constructor_lib.dart
@@ -2,8 +2,20 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE.md file.
-class A {}
+class A {
+ int field;
-class B<T extends A> {}
+ A();
+ A.namedConstructor();
-class C {}
+ void method() {}
+}
+
+class B extends A {
+ int field;
+
+ B();
+ B.namedConstructor() : field = 0;
+
+ void method() {}
+}

Powered by Google App Engine
This is Rietveld 408576698