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

Unified Diff: lib/compiler/implementation/ssa/js_names.dart

Issue 10970038: Convert raw strings in compiler (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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/ssa/codegen.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/js_names.dart
===================================================================
--- lib/compiler/implementation/ssa/js_names.dart (revision 12782)
+++ lib/compiler/implementation/ssa/js_names.dart (working copy)
@@ -175,8 +175,8 @@
if (reserved.contains(name)) {
name = '$name\$';
assert(!reserved.contains(name));
- } else if (name.contains(@'$')) {
- name = name.replaceAll(@'$', @'$$');
+ } else if (name.contains(r'$')) {
+ name = name.replaceAll(r'$', r'$$');
}
return name;
}
« no previous file with comments | « lib/compiler/implementation/ssa/codegen.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698