Index: pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
diff --git a/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart b/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
index 558b6fbfb4ba9bd0d057347ddfb8ae5a266e215f..ff352bcc45ff39e685c44594701d1c98642fe026 100644 |
--- a/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
+++ b/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
@@ -132,7 +132,8 @@ class KernelAstAdapter extends KernelToElementMapMixin |
CommonElements get commonElements => _compiler.resolution.commonElements; |
@override |
- ElementEnvironment get elementEnvironment => _compiler.elementEnvironment; |
+ ElementEnvironment get elementEnvironment => |
+ _compiler.resolution.elementEnvironment; |
MemberElement get currentMember => _resolvedAst.element; |