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

Unified Diff: pkg/compiler/lib/src/resolution/class_hierarchy.dart

Issue 2827283002: Implement subtype relation for kernel based elements. (Closed)
Patch Set: Remove @override annotations Created 3 years, 8 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/compiler/lib/src/resolution/class_hierarchy.dart
diff --git a/pkg/compiler/lib/src/resolution/class_hierarchy.dart b/pkg/compiler/lib/src/resolution/class_hierarchy.dart
index e01cf6e389e524b0a182b49e5a25949837b1c9e9..f04fa0d7dedfb83e692dd503f70ad355bbbb50e8 100644
--- a/pkg/compiler/lib/src/resolution/class_hierarchy.dart
+++ b/pkg/compiler/lib/src/resolution/class_hierarchy.dart
@@ -17,7 +17,8 @@ import '../elements/modelx.dart'
SynthesizedConstructorElementX,
TypeVariableElementX,
UnnamedMixinApplicationElementX;
-import '../ordered_typeset.dart' show OrderedTypeSet, OrderedTypeSetBuilder;
+import '../ordered_typeset.dart'
+ show OrderedTypeSet, ResolutionOrderedTypeSetBuilder;
import '../tree/tree.dart';
import '../universe/call_structure.dart' show CallStructure;
import '../universe/feature.dart' show Feature;
@@ -540,7 +541,7 @@ class ClassResolverVisitor extends TypeDefinitionVisitor {
if (cls.allSupertypesAndSelf != null) return;
final ResolutionInterfaceType supertype = cls.supertype;
if (supertype != null) {
- cls.allSupertypesAndSelf = new OrderedTypeSetBuilder(cls,
+ cls.allSupertypesAndSelf = new ResolutionOrderedTypeSetBuilder(cls,
reporter: reporter, objectType: commonElements.objectType)
.createOrderedTypeSet(supertype, cls.interfaces);
} else {

Powered by Google App Engine
This is Rietveld 408576698