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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart

Issue 19676002: Implement top-level getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r25274 Created 7 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: dart/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart b/dart/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
index 4440c067f7590c5171e4dd5c8c3e0ebbb7c3c14e..53fc6082f135371eaa10c17f273124323e91cada 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart
@@ -258,7 +258,7 @@ class NativeEmitter {
ClassBuilder builder = new ClassBuilder();
emitter.emitClassConstructor(classElement, builder);
emitter.emitSuper(superName, builder);
- bool hasFields = emitter.emitClassFields(
+ bool hasFields = emitter.emitFields(
classElement, builder, superName, classIsNative: true);
int propertyCount = builder.properties.length;
emitter.emitClassGettersSetters(classElement, builder);

Powered by Google App Engine
This is Rietveld 408576698