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

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

Issue 10310060: Generate getters and setters dynamically. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and cosmetic changes. Created 8 years, 7 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
« no previous file with comments | « lib/compiler/implementation/namer.dart ('k') | tests/language/naming3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/native_emitter.dart
diff --git a/lib/compiler/implementation/native_emitter.dart b/lib/compiler/implementation/native_emitter.dart
index c38dc23e7502496373cbf17c761898c0eca4de8a..e4e977b7b94817f843328fa7ae5e7806539646f2 100644
--- a/lib/compiler/implementation/native_emitter.dart
+++ b/lib/compiler/implementation/native_emitter.dart
@@ -84,7 +84,9 @@ class NativeEmitter {
for (Element member in classElement.members) {
if (member.isInstanceMember()) {
- compiler.emitter.addInstanceMember(member, defineInstanceMember);
+ bool needGettersAndSetters = true;
+ compiler.emitter.addInstanceMember(
+ member, needGettersAndSetters, defineInstanceMember);
}
}
}
@@ -129,7 +131,9 @@ class NativeEmitter {
for (Element member in classElement.members) {
if (member.isInstanceMember()) {
- compiler.emitter.addInstanceMember(member, defineInstanceMember);
+ bool needGettersAndSetters = true;
+ compiler.emitter.addInstanceMember(
+ member, needGettersAndSetters, defineInstanceMember);
}
}
« no previous file with comments | « lib/compiler/implementation/namer.dart ('k') | tests/language/naming3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698