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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/builder.dart

Issue 49813002: Infer types for parameters even in the presence of InvocationMirror.delegate. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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/ssa/builder.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/ssa/builder.dart (revision 29362)
+++ sdk/lib/_internal/compiler/implementation/ssa/builder.dart (working copy)
@@ -3368,7 +3368,7 @@
// class is _not_ the default implementation from [Object], in
// case the [noSuchMethod] implementation calls
// [JSInvocationMirror._invokeOn].
- compiler.enqueuer.codegen.registerSelectorUse(selector);
+ compiler.enqueuer.codegen.registerSelectorUse(selector.asUntyped);
kasperl 2013/10/29 08:35:27 Do we have to do this at all if invokeOn isn't reg
ngeoffray 2013/10/29 09:19:28 No, nice catch. Done.
}
String publicName = name;
if (selector.isSetter()) publicName += '=';

Powered by Google App Engine
This is Rietveld 408576698