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 5852aa4fde5be391e114fe252e91e5f1e6b89822..f625c8a04f0ab08680a9f8db7607b0a4cd40aa94 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 |
@@ -45,7 +45,7 @@ class ClassEmitter extends CodeEmitterHelper { |
emitRuntimeTypeInformation(cls, builder); |
emitNativeInfo(cls, builder); |
- if (classElement == backend.closureClass) { |
+ if (classElement == backend.helpers.closureClass) { |
// We add a special getter here to allow for tearing off a closure from |
// itself. |
jsAst.Fun function = js('function() { return this; }'); |