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

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

Issue 10824276: Register toString dynamic invocation in the presence of string interpolation. (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 | « no previous file | tests/compiler/dart2js/resolver_test.dart » ('j') | tests/compiler/dart2js/resolver_test.dart » ('J')
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 f3960bccdfa1f43402857eb41edeb20ef80951d9..ba5270711b9c9eca806631d4c1e6ebc555d01070 100644
--- a/lib/compiler/implementation/resolver.dart
+++ b/lib/compiler/implementation/resolver.dart
@@ -1444,6 +1444,7 @@ class ResolverVisitor extends CommonResolverVisitor<Element> {
}
visitStringInterpolationPart(StringInterpolationPart node) {
+ world.registerDynamicInvocation(const SourceString('toString'), Selector.INVOCATION_0);
ahe 2012/08/13 13:26:55 Long line.
Anton Muhin 2012/08/13 13:49:42 Done.
node.visitChildren(this);
}
« no previous file with comments | « no previous file | tests/compiler/dart2js/resolver_test.dart » ('j') | tests/compiler/dart2js/resolver_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698