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

Unified Diff: lib/compiler/implementation/resolver.dart

Issue 10854093: Revert "Implement call operator." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« no previous file with comments | « lib/compiler/implementation/resolved_visitor.dart ('k') | lib/compiler/implementation/typechecker.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/resolver.dart
diff --git a/lib/compiler/implementation/resolver.dart b/lib/compiler/implementation/resolver.dart
index e8a31ab6bedc4d9acf0b7a8c9eec15f06d9910b2..6ffc29fd5779555e3147ef72b6240d36586b77bc 100644
--- a/lib/compiler/implementation/resolver.dart
+++ b/lib/compiler/implementation/resolver.dart
@@ -1195,13 +1195,6 @@ class ResolverVisitor extends CommonResolverVisitor<Element> {
AbstractFieldElement field = target;
target = field.getter;
}
- if (node.isCall &&
- (target === null ||
- target.isGetter() ||
- Elements.isClosureSend(node, target))) {
- world.registerDynamicInvocation(compiler.namer.CLOSURE_INVOCATION_NAME,
- mapping.getSelector(node));
- }
// TODO(ngeoffray): We should do the check in
// visitExpressionStatement instead.
if (target === compiler.assertMethod && !node.isCall) {
« no previous file with comments | « lib/compiler/implementation/resolved_visitor.dart ('k') | lib/compiler/implementation/typechecker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698