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 dd53d78ea110c720b66688a434a8e09b6d9ed5d4..71b670b434150f5e34129413be7915c702d56d38 100644 |
--- a/lib/compiler/implementation/dart_backend/emitter.dart |
+++ b/lib/compiler/implementation/dart_backend/emitter.dart |
@@ -18,7 +18,8 @@ class Emitter { |
void outputClass(ClassElement classElement, Set<Element> innerElements) { |
// TODO(smok): Very soon properly print out correct class declaration with |
// extends, implements, etc. |
- sb.add('class '); |
+ sb.add(classElement.beginToken.slowToString()); // 'class' or 'interface'. |
+ sb.add(' '); |
sb.add(classElement.name.slowToString()); |
sb.add('{'); |
innerElements.forEach((element) { |