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

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

Issue 10795064: dart2dart: Introduce Renamer that is used by renaming unparser (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/backend.dart
diff --git a/lib/compiler/implementation/dart_backend/backend.dart b/lib/compiler/implementation/dart_backend/backend.dart
index bae2f85a9610a1af78cd1e8b18c8ff843c62af8a..cfab70fa1da008a23fae5a668a725744f7e578e4 100644
--- a/lib/compiler/implementation/dart_backend/backend.dart
+++ b/lib/compiler/implementation/dart_backend/backend.dart
@@ -62,6 +62,7 @@ class DartBackend extends Backend {
*/
bool shouldOutput(Element element) {
return element.kind !== ElementKind.VOID
+ && element is! AbstractFieldElement
Anton Muhin 2012/07/23 11:23:10 why?
Roman 2012/07/23 15:34:15 I don't remember! I checked again without this con
&& element.getLibrary() !== compiler.coreLibrary;
}

Powered by Google App Engine
This is Rietveld 408576698