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

Unified Diff: pkg/compiler/lib/src/ordered_typeset.dart

Issue 1421003004: Add CoreClasses (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comment. Created 5 years, 2 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/compiler/lib/src/native/enqueue.dart ('k') | pkg/compiler/lib/src/resolution/class_hierarchy.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « pkg/compiler/lib/src/native/enqueue.dart ('k') | pkg/compiler/lib/src/resolution/class_hierarchy.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698