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 7d93aab97536286c933d2247d5fce579438a9f62..636319aa227f7271a9fb2b5be03f9e04c92e1b37 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 |
@@ -32,7 +32,7 @@ class ClassEmitter extends CodeEmitterHelper { |
closedWorld.commonElements, namer, codegenWorldBuilder, closedWorld, |
enableMinification: compiler.options.enableMinification); |
- ElementEnvironment get _elementEnvironment => compiler.elementEnvironment; |
+ ElementEnvironment get _elementEnvironment => closedWorld.elementEnvironment; |
/** |
* Documentation wanted -- johnniwinther |