Index: pkg/compiler/lib/src/world.dart |
diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart |
index 21dc96e25de66de1104ce55edcad97390ff0ca2f..0cc7622771dc6e021ffba63072475b8da698f5b4 100644 |
--- a/pkg/compiler/lib/src/world.dart |
+++ b/pkg/compiler/lib/src/world.dart |
@@ -365,6 +365,9 @@ class World implements ClassWorld { |
compiler.internalError(cls, 'Class "${cls.name}" is not resolved.'); |
} |
+ // TODO(sigmund): split into separate CL. See dartbug.com/23664 |
Johnni Winther
2015/07/13 19:21:44
Ahh, yes, the bug and its fix.
Siggi Cherem (dart-lang)
2015/09/29 01:39:34
:)
|
+ _subtypes.putIfAbsent(cls, () => new Set<ClassElement>()).add(cls); |
+ _subclasses.putIfAbsent(cls, () => new Set<ClassElement>()).add(cls); |
for (DartType type in cls.allSupertypes) { |
Set<Element> subtypesOfSupertype = |
_subtypes.putIfAbsent(type.element, () => new Set<ClassElement>()); |