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

Unified Diff: lib/compiler/implementation/dart_backend/emitter.dart

Issue 10834065: Revert https://chromiumcodereview.appspot.com/10789012/ (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 | « no previous file | lib/compiler/implementation/elements/elements.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/dart_backend/emitter.dart
diff --git a/lib/compiler/implementation/dart_backend/emitter.dart b/lib/compiler/implementation/dart_backend/emitter.dart
index bf901207b6dfb36f653b07e66afa930ae38da4a9..60f614b9df8a98ac14c72a1bc54dcc3f299bc3ea 100644
--- a/lib/compiler/implementation/dart_backend/emitter.dart
+++ b/lib/compiler/implementation/dart_backend/emitter.dart
@@ -47,7 +47,7 @@ class Emitter {
}
if (classNode.defaultClause !== null) {
sb.add(' default ');
- sb.add(unparser.unparse(classNode.defaultClause));
+ sb.add(renamer.renameType(classElement.defaultClass));
}
sb.add('{');
innerElements.forEach((element) {
« no previous file with comments | « no previous file | lib/compiler/implementation/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698