Index: pkg/compiler/lib/src/resolution/resolution.dart |
diff --git a/pkg/compiler/lib/src/resolution/resolution.dart b/pkg/compiler/lib/src/resolution/resolution.dart |
index ab942f4414e6d7ac320de12936d637271170eb8f..a28490a9b274c8b05dd7be25157fb87362977d57 100644 |
--- a/pkg/compiler/lib/src/resolution/resolution.dart |
+++ b/pkg/compiler/lib/src/resolution/resolution.dart |
@@ -214,7 +214,7 @@ class ResolverTask extends CompilerTask { |
} |
WorldImpact resolveMethodElementImplementation( |
- FunctionElement element, FunctionExpression tree) { |
+ FunctionElementX element, FunctionExpression tree) { |
return reporter.withCurrentElement(element, () { |
if (element.isExternal && tree.hasBody) { |
reporter.reportErrorMessage(element, MessageKind.EXTERNAL_WITH_BODY, |
@@ -286,7 +286,7 @@ class ResolverTask extends CompilerTask { |
reporter.reportErrorMessage(tree, MessageKind.NO_SUCH_METHOD_IN_NATIVE); |
} |
- resolution.target.resolveNativeElement(element, registry.impactBuilder); |
+ resolution.target.resolveNativeMember(element, registry.impactBuilder); |
return registry.impactBuilder; |
}); |
@@ -434,7 +434,7 @@ class ResolverTask extends CompilerTask { |
// Perform various checks as side effect of "computing" the type. |
element.computeType(resolution); |
- resolution.target.resolveNativeElement(element, registry.impactBuilder); |
+ resolution.target.resolveNativeMember(element, registry.impactBuilder); |
return registry.impactBuilder; |
}); |