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

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

Issue 10824062: dart2dart (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
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 5fb61277252de92cee311ea6987193c9ecbe5874..57da444ac46bd4c07bdc81875e41e7e2f37a8ed0 100644
--- a/lib/compiler/implementation/dart_backend/emitter.dart
+++ b/lib/compiler/implementation/dart_backend/emitter.dart
@@ -34,6 +34,7 @@ class Emitter {
if (classNode.typeParameters !== null) {
sb.add(unparser.unparse(classNode.typeParameters));
}
+ renamer.setContext(classElement);
if (classNode.extendsKeyword !== null) {
sb.add(' ');
classNode.extendsKeyword.value.printOn(sb);

Powered by Google App Engine
This is Rietveld 408576698