| Index: pkg/compiler/lib/src/js_emitter/program_builder/collector.dart
|
| diff --git a/pkg/compiler/lib/src/js_emitter/program_builder/collector.dart b/pkg/compiler/lib/src/js_emitter/program_builder/collector.dart
|
| index 8314f15ebe7fdc5ba85cb6ce179e34d534805ff6..6e43f98931fef520dce9ce839420841c4327dbdd 100644
|
| --- a/pkg/compiler/lib/src/js_emitter/program_builder/collector.dart
|
| +++ b/pkg/compiler/lib/src/js_emitter/program_builder/collector.dart
|
| @@ -170,7 +170,7 @@ class Collector {
|
| void computeNeededDeclarations() {
|
| // Compute needed typedefs.
|
| typedefsNeededForReflection = Elements.sortedByPosition(compiler
|
| - .world.allTypedefs
|
| + .closedWorld.allTypedefs
|
| .where(backend.isAccessibleByReflection)
|
| .toList());
|
|
|
|
|