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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart

Issue 22692002: Implement reflecting on mixin applications. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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
Index: dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart b/dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
index 796718a952e1332d816ccf878f07482f20233575..303c434e48ea76c9071a001f31b9eae87a606764 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
@@ -541,7 +541,7 @@ class Namer implements ClosureNamer {
name = "${enclosingClass.name.slowToString()}_"
"${element.name.slowToString()}";
} else {
- name = element.name.slowToString();
+ name = element.name.slowToString().replaceAll('+', '_');
}
} else if (element.isLibrary()) {
name = LIBRARY_PREFIX;

Powered by Google App Engine
This is Rietveld 408576698