Index: pkg/compiler/lib/src/ordered_typeset.dart |
diff --git a/pkg/compiler/lib/src/ordered_typeset.dart b/pkg/compiler/lib/src/ordered_typeset.dart |
index a5da246c2e7ce4f6c24239c6a200768cba4d5a60..cd6dd0e7dd843a59122de104d240721727ffe71a 100644 |
--- a/pkg/compiler/lib/src/ordered_typeset.dart |
+++ b/pkg/compiler/lib/src/ordered_typeset.dart |
@@ -157,13 +157,13 @@ class OrderedTypeSetBuilder { |
void add(Compiler compiler, InterfaceType type) { |
if (type.element == cls) { |
- if (type.element != compiler.objectClass) { |
- allSupertypes.addLast(compiler.objectClass.rawType); |
+ if (type.element != compiler.coreClasses.objectClass) { |
+ allSupertypes.addLast(compiler.coreTypes.objectType); |
} |
DiagnosticReporter reporter = compiler.reporter; |
_addAtDepth(reporter, type, maxDepth + 1); |
} else { |
- if (type.element != compiler.objectClass) { |
+ if (type.element != compiler.coreClasses.objectClass) { |
allSupertypes.addLast(type); |
} |
DiagnosticReporter reporter = compiler.reporter; |