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 9317d30f9fca0a1e7497ad8d9b871056f31ea2be..f1ca6d02630b1314b5480dbdf9430ed0556a8a0b 100644 |
--- a/pkg/compiler/lib/src/resolution/resolution.dart |
+++ b/pkg/compiler/lib/src/resolution/resolution.dart |
@@ -285,6 +285,8 @@ class ResolverTask extends CompilerTask { |
reporter.reportErrorMessage(tree, MessageKind.NO_SUCH_METHOD_IN_NATIVE); |
} |
+ resolution.target.resolveNativeElement(element, registry.worldImpact); |
+ |
return registry.worldImpact; |
}); |
} |
@@ -414,6 +416,8 @@ class ResolverTask extends CompilerTask { |
// Perform various checks as side effect of "computing" the type. |
element.computeType(resolution); |
+ resolution.target.resolveNativeElement(element, registry.worldImpact); |
+ |
return registry.worldImpact; |
} |