Index: lib/compiler/implementation/native_handler.dart |
=================================================================== |
--- lib/compiler/implementation/native_handler.dart (revision 6623) |
+++ lib/compiler/implementation/native_handler.dart (working copy) |
@@ -26,6 +26,11 @@ |
() => <ClassElement>[]); |
subtypes.add(cls); |
} |
+ |
+ List<Element> directSubtypes = emitter.directSubtypes.putIfAbsent( |
+ cls.superclass, |
+ () => <ClassElement>[]); |
+ directSubtypes.add(cls); |
} |
void processNativeClassesInLibrary(Compiler compiler, |