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

Unified Diff: lib/compiler/implementation/dart_backend/backend.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/dart2js.dart ('k') | lib/compiler/implementation/dart_backend/renamer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/dart_backend/backend.dart
===================================================================
--- lib/compiler/implementation/dart_backend/backend.dart (revision 12782)
+++ lib/compiler/implementation/dart_backend/backend.dart (working copy)
@@ -221,11 +221,11 @@
for (final member in classElement.localMembers) {
final name = member.name.slowToString();
// Skip operator names.
- if (name.startsWith(@'operator$')) continue;
+ if (name.startsWith(r'operator$')) continue;
// Fetch name of named constructors and factories if any,
// otherwise store regular name.
// TODO(antonm): better way to analyze the name.
- fixedMemberNames.add(name.split(@'$').last());
+ fixedMemberNames.add(name.split(r'$').last());
}
}
// Even class names are added due to a delicate problem we have:
« no previous file with comments | « lib/compiler/implementation/dart2js.dart ('k') | lib/compiler/implementation/dart_backend/renamer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698