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

Unified Diff: lib/compiler/implementation/js_backend/emitter.dart

Issue 10905305: Patch refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 8 years, 3 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/js_backend/emitter.dart
diff --git a/lib/compiler/implementation/js_backend/emitter.dart b/lib/compiler/implementation/js_backend/emitter.dart
index 9b390a3d9259479a87b1c1dd972acc8140f58c9d..359a9a0a89d94f01d26dff58649d64047697a291 100644
--- a/lib/compiler/implementation/js_backend/emitter.dart
+++ b/lib/compiler/implementation/js_backend/emitter.dart
@@ -639,7 +639,8 @@ function(prototype, staticName, fieldName, getterName, lazyValue) {
classElement.forEachInstanceField(
addField,
includeBackendMembers: true,
- includeSuperMembers: isInstantiated && !classElement.isNative());
+ includeSuperMembers: isInstantiated && !classElement.isNative(),
+ includeInjectedMembers: true);
return checkedSetters;
}
@@ -662,6 +663,7 @@ function(prototype, staticName, fieldName, getterName, lazyValue) {
}
classElement.forEachMember(includeBackendMembers: true,
+ includeInjectedMembers: true,
f: (ClassElement enclosing, Element member) {
assert(invariant(classElement, member.isDeclaration));
if (member.isInstanceMember()) {

Powered by Google App Engine
This is Rietveld 408576698