Index: pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
index ab8b705f4a48f55f4e507f932c6744f2b554a106..847c5fda1c70685e18c5f120791c18a5f00dc8eb 100644 |
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
@@ -72,7 +72,7 @@ class ClassEmitter extends CodeEmitterHelper { |
emitRuntimeTypeInformation(cls, builder); |
emitNativeInfo(cls, builder); |
- if (classElement == backend.commonElements.closureClass) { |
+ if (classElement == closedWorld.commonElements.closureClass) { |
// We add a special getter here to allow for tearing off a closure from |
// itself. |
jsAst.Fun function = js('function() { return this; }'); |