Index: pkg/compiler/lib/src/world.dart |
diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart |
index 20d0fd2f46d87b7841c4d846fec31fe3d62e6175..68d0f4d1c39d8845d24cb4f6f598a61ee8d7777d 100644 |
--- a/pkg/compiler/lib/src/world.dart |
+++ b/pkg/compiler/lib/src/world.dart |
@@ -2,32 +2,7 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-library dart2js.world; |
- |
-import 'closure.dart' show |
- SynthesizedCallMethodElementX; |
-import 'dart2jslib.dart' show |
- invariant, |
- Backend, |
- Compiler, |
- Registry; |
-import 'dart_types.dart'; |
-import 'elements/elements.dart' show |
- ClassElement, |
- Element, |
- FunctionElement, |
- MixinApplicationElement, |
- TypedefElement, |
- VariableElement; |
-import 'ordered_typeset.dart'; |
-import 'types/types.dart' as ti; |
-import 'universe/universe.dart' show |
- FunctionSet, |
- Selector, |
- SideEffects; |
-import 'universe/class_set.dart'; |
-import 'util/util.dart' show |
- Link; |
+part of dart2js; |
abstract class ClassWorld { |
// TODO(johnniwinther): Refine this into a `BackendClasses` interface. |
@@ -576,7 +551,7 @@ class World implements ClassWorld { |
// expressions. In such a case, we have to look at the original |
// function expressions's element. |
// TODO(herhut): Generate classes for function expressions earlier. |
- if (element is SynthesizedCallMethodElementX) { |
+ if (element is closureMapping.SynthesizedCallMethodElementX) { |
return getMightBePassedToApply(element.expression); |
} |
return functionsThatMightBePassedToApply.contains(element); |