Index: pkg/compiler/lib/src/kernel/kernel_strategy.dart |
diff --git a/pkg/compiler/lib/src/kernel/kernel_strategy.dart b/pkg/compiler/lib/src/kernel/kernel_strategy.dart |
index 8176c97ea018a119ae6e8aeab64ba95fbf6fcf9a..ca1c29ef7cd90bfa50e33554baffff76d6a66632 100644 |
--- a/pkg/compiler/lib/src/kernel/kernel_strategy.dart |
+++ b/pkg/compiler/lib/src/kernel/kernel_strategy.dart |
@@ -344,6 +344,7 @@ class KernelSsaBuilderTask extends CompilerTask implements SsaBuilderTask { |
HGraph build(CodegenWorkItem work, ClosedWorld closedWorld) { |
KernelSsaBuilder builder = new KernelSsaBuilder( |
work.element, |
+ work.element.enclosingClass, |
_compiler, |
_elementMap, |
closedWorld, |