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

Unified Diff: tests/compiler/dart2js/field_type_inferer_test.dart

Issue 12437009: Revert "Add superclasses, subclasses, and subtypes tracking to the world." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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: tests/compiler/dart2js/field_type_inferer_test.dart
diff --git a/tests/compiler/dart2js/field_type_inferer_test.dart b/tests/compiler/dart2js/field_type_inferer_test.dart
index 62c6be0a7bd6a6a27a978b02082c4e3bd2130d7f..04773aa361877e8f31e9ac677c88e9a9c74ce5e5 100644
--- a/tests/compiler/dart2js/field_type_inferer_test.dart
+++ b/tests/compiler/dart2js/field_type_inferer_test.dart
@@ -344,12 +344,7 @@ void doTest(String test, bool disableInlining, Map<String, HType> fields) {
disableInlining,
(backend, field) {
HType inferredType = backend.optimisticFieldType(field);
- if (type == HType.UNKNOWN) {
- Expect.isTrue(inferredType == HType.UNKNOWN ||
- inferredType.isTop(backend.compiler));
- } else {
- Expect.equals(type, inferredType);
- }
+ Expect.equals(type, inferredType);
});
});
}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/world.dart ('k') | tests/compiler/dart2js/type_combination_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698