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

Unified Diff: sdk/lib/_internal/compiler/implementation/universe/universe.dart

Issue 14260012: Do not infer types of arguments of closures and methods named "call". (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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: sdk/lib/_internal/compiler/implementation/universe/universe.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/universe/universe.dart (revision 22108)
+++ sdk/lib/_internal/compiler/implementation/universe/universe.dart (working copy)
@@ -175,12 +175,14 @@
selector.argumentCount, selector.namedArguments);
Selector.callConstructor(SourceString constructorName,
- LibraryElement library)
+ LibraryElement library,
+ [int arity = 0,
+ List<SourceString> named = const []])
: this(SelectorKind.CALL,
constructorName,
library,
- 0,
- const []);
+ arity,
+ named);
Selector.callDefaultConstructor(LibraryElement library)
: this(SelectorKind.CALL, const SourceString(""), library, 0, const []);

Powered by Google App Engine
This is Rietveld 408576698