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 3fbfd8cb164eba963ddae0434caf0ec6706babb0..9d08775595542824d67d29cdccb646a687f6b24c 100644 |
--- a/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
+++ b/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
@@ -138,14 +138,14 @@ class KernelAstAdapter extends KernelElementAdapterMixin { |
Compiler get _compiler => _backend.compiler; |
TreeElements get elements => _resolvedAst.elements; |
DiagnosticReporter get reporter => _compiler.reporter; |
- Element get _target => _resolvedAst.element; |
+ MemberElement get _target => _resolvedAst.element; |
GlobalTypeInferenceResults get _globalInferenceResults => |
_compiler.globalInference.results; |
- GlobalTypeInferenceElementResult _resultOf(Element e) => |
+ GlobalTypeInferenceElementResult _resultOf(MemberElement e) => |
_globalInferenceResults |
- .resultOf(e is ConstructorBodyElementX ? e.constructor : e); |
+ .resultOfMember(e is ConstructorBodyElementX ? e.constructor : e); |
ConstantValue getConstantForSymbol(ir.SymbolLiteral node) { |
if (kernel.syntheticNodes.contains(node)) { |
@@ -308,8 +308,8 @@ class KernelAstAdapter extends KernelElementAdapterMixin { |
} |
TypeMask inferredTypeOf(ir.Member node) { |
- return TypeMaskFactory.inferredTypeForElement( |
- getElement(node), _globalInferenceResults); |
+ return TypeMaskFactory.inferredTypeForMember( |
+ getMember(node), _globalInferenceResults); |
} |
TypeMask selectorTypeOf(Selector selector, TypeMask mask) { |