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

Unified Diff: pkg/kernel/lib/class_hierarchy.dart

Issue 2930973002: Remove ClassHierarchy factory constructor. (Closed)
Patch Set: Created 3 years, 6 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/kernel/lib/class_hierarchy.dart
diff --git a/pkg/kernel/lib/class_hierarchy.dart b/pkg/kernel/lib/class_hierarchy.dart
index 0968b720dcb20d5055f30ed9df1fe2b660540d98..5adc277376332e79d9983bd31f733789ca3a4567 100644
--- a/pkg/kernel/lib/class_hierarchy.dart
+++ b/pkg/kernel/lib/class_hierarchy.dart
@@ -13,9 +13,6 @@ import 'type_algebra.dart';
/// TODO(scheglov) Several methods are not used, or used only in tests.
/// Check if these methods are not useful and should be removed .
abstract class ClassHierarchy {
- factory ClassHierarchy(Program program) =>
- new ClosedWorldClassHierarchy(program);
-
/// Given the [unordered] classes, return them in such order that classes
/// occur after their superclasses. If some superclasses are not in
/// [unordered], they are not included.
« no previous file with comments | « pkg/front_end/test/fasta/type_inference/type_schema_environment_test.dart ('k') | pkg/kernel/test/class_hierarchy_bench.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698