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

Unified Diff: runtime/lib/mirrors_impl.dart

Issue 10977027: Update all occurrences of raw strings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't disable just yet. 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
Index: runtime/lib/mirrors_impl.dart
diff --git a/runtime/lib/mirrors_impl.dart b/runtime/lib/mirrors_impl.dart
index 5e6a4812d0b8bda4574b43fa31eb5b0198bb98ba..895e2f13572eb1c79ee7f53f1302ce810bebd4df 100644
--- a/runtime/lib/mirrors_impl.dart
+++ b/runtime/lib/mirrors_impl.dart
@@ -220,28 +220,28 @@ String _dartEscape(String str) {
String output;
switch (input) {
case '\\' :
- output = @'\\';
+ output = r'\\';
break;
case "\'" :
- output = @"\'";
+ output = r"\'";
break;
case '\n' :
- output = @'\n';
+ output = r'\n';
break;
case '\r' :
- output = @'\r';
+ output = r'\r';
break;
case '\f' :
- output = @'\f';
+ output = r'\f';
break;
case '\b' :
- output = @'\b';
+ output = r'\b';
break;
case '\t' :
- output = @'\t';
+ output = r'\t';
break;
case '\v' :
- output = @'\v';
+ output = r'\v';
break;
default:
int code = input.charCodeAt(0);

Powered by Google App Engine
This is Rietveld 408576698