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

Unified Diff: lib/compiler/implementation/native_emitter.dart

Issue 10832203: Refactor Library/CompilationUnit and how we define local Scope. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Last test fixes, passes co19. Created 8 years, 4 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/native_emitter.dart
diff --git a/lib/compiler/implementation/native_emitter.dart b/lib/compiler/implementation/native_emitter.dart
index d2c38251314b9597450d9e73526053a869b47b8f..20aff607b20fe08fc785842236832f7c616fb689 100644
--- a/lib/compiler/implementation/native_emitter.dart
+++ b/lib/compiler/implementation/native_emitter.dart
@@ -112,7 +112,7 @@ function(cls, fields, methods) {
nativeBuffer.add("$className.$name = $value;\n");
}
- for (Element member in classElement.members) {
+ for (Element member in classElement.localMembers) {
if (member.isInstanceMember()) {
emitter.addInstanceMember(member, defineInstanceMember);
}

Powered by Google App Engine
This is Rietveld 408576698