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

Unified Diff: dart/runtime/lib/function_patch.dart

Issue 14173005: Update dart:mirrors to use Symbol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Also use _symbol_dev.Symbol.getName in dart2js 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
« no previous file with comments | « dart/runtime/lib/core_patch.dart ('k') | dart/runtime/lib/lib_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/runtime/lib/function_patch.dart
diff --git a/dart/runtime/lib/function_patch.dart b/dart/runtime/lib/function_patch.dart
index e368dcc30f5b8501f86e58e8b307df59e79d8bdb..f0f016c26efb88cf3b58d6b291b0a67058a8ae22 100644
--- a/dart/runtime/lib/function_patch.dart
+++ b/dart/runtime/lib/function_patch.dart
@@ -22,7 +22,7 @@ patch class Function {
if (numNamedArguments > 0) {
namedArguments.forEach((name, value) {
arguments[argumentIndex++] = value;
- names[nameIndex++] = name._name;
+ names[nameIndex++] = _symbol_dev.Symbol.getName(name);
});
}
return _apply(arguments, names);
« no previous file with comments | « dart/runtime/lib/core_patch.dart ('k') | dart/runtime/lib/lib_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698