| Index: pkg/compiler/lib/src/universe/resolution_world_builder.dart
|
| diff --git a/pkg/compiler/lib/src/universe/resolution_world_builder.dart b/pkg/compiler/lib/src/universe/resolution_world_builder.dart
|
| index 1fb5ca910b9c3be4b0d7c8eb97ec4d3f331f53a7..b45c1c91c8accb2274d9333ef5a4d98c810b38dd 100644
|
| --- a/pkg/compiler/lib/src/universe/resolution_world_builder.dart
|
| +++ b/pkg/compiler/lib/src/universe/resolution_world_builder.dart
|
| @@ -923,6 +923,8 @@ abstract class ResolutionWorldBuilderBase
|
| // variables to the super constructor.
|
| forEachInstantiatedClass(addSubtypes);
|
|
|
| + _classHierarchyNodes.keys.toList().forEach(_ensureClassSet);
|
| +
|
| return typesImplementedBySubclasses;
|
| }
|
| }
|
| @@ -953,6 +955,10 @@ abstract class KernelResolutionWorldBuilderBase
|
| Map<ClassEntity, Set<ClassEntity>> typesImplementedBySubclasses =
|
| populateHierarchyNodes();
|
| _closed = true;
|
| + assert(
|
| + _classHierarchyNodes.length == _classSets.length,
|
| + "ClassHierarchyNode/ClassSet mismatch: "
|
| + "$_classHierarchyNodes vs $_classSets");
|
| return _closedWorldCache = new KernelClosedWorld(
|
| commonElements: _commonElements,
|
| nativeData: _nativeDataBuilder.close(),
|
|
|