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

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: Minor bug fixes during testing. 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 cb2508c789d51231fcb23df91336c3a25bb82963..7d142624277e475b2dee9fcce6b48464baf42737 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
@@ -544,7 +544,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