Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: pkg/compiler/lib/src/resolution/resolution.dart

Issue 2732793002: Add NativeDataResolver (Closed)
Patch Set: Fix. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
});

Powered by Google App Engine
This is Rietveld 408576698