Index: pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart |
diff --git a/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart b/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart |
index 0fa77bd84707fbef5d6e3d31e6a82584557f73e2..70a16bf910297833a24eb3cfa7a3bdc09a32a072 100644 |
--- a/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart |
+++ b/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart |
@@ -74,7 +74,7 @@ class KernelBackendStrategy implements BackendStrategy { |
NativeBasicData nativeBasicData, |
ClosedWorld closedWorld, |
SelectorConstraintsStrategy selectorConstraintsStrategy) { |
- return new KernelCodegenWorldBuilder(_compiler.elementEnvironment, |
+ return new KernelCodegenWorldBuilder(closedWorld.elementEnvironment, |
nativeBasicData, closedWorld, selectorConstraintsStrategy); |
} |