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

Unified Diff: pkg/kernel/test/typecheck.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
« no previous file with comments | « pkg/kernel/test/type_subtype_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/test/typecheck.dart
diff --git a/pkg/kernel/test/typecheck.dart b/pkg/kernel/test/typecheck.dart
index a02815ab0519cb73f43b92176ab2e417e35239a0..e5efb88b3d432a950d48c262cc5723fd7f439db9 100644
--- a/pkg/kernel/test/typecheck.dart
+++ b/pkg/kernel/test/typecheck.dart
@@ -4,6 +4,7 @@
import 'package:kernel/kernel.dart';
import 'package:kernel/class_hierarchy.dart';
import 'package:kernel/core_types.dart';
+import 'package:kernel/src/incremental_class_hierarchy.dart';
import 'package:kernel/type_checker.dart';
import 'dart:io';
@@ -20,7 +21,7 @@ main(List<String> args) {
}
var program = loadProgramFromBinary(args[0]);
var coreTypes = new CoreTypes(program);
- var hierarchy = new ClassHierarchy(program);
+ var hierarchy = new IncrementalClassHierarchy();
new TestTypeChecker(coreTypes, hierarchy).checkProgram(program);
}
« no previous file with comments | « pkg/kernel/test/type_subtype_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698