Index: pkg/compiler/lib/src/js_backend/constant_system_javascript.dart |
diff --git a/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart b/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart |
index 410d1c86bbb1fd8c2ac83fe00c8a00a78eb4e98b..bfd156edcfa8463f12e5ba21e3985f28a604e858 100644 |
--- a/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart |
+++ b/pkg/compiler/lib/src/js_backend/constant_system_javascript.dart |
@@ -357,7 +357,7 @@ class JavaScriptConstantSystem extends ConstantSystem { |
symbolClass.forEachInstanceField( |
(ClassElement enclosingClass, FieldElement field) { |
fields[field] = argument; |
- }); |
+ }, includeSuperAndInjectedMembers: true); |
assert(fields.length == 1); |
return new ConstructedConstantValue(type, fields); |
} |