| Index: sdk/lib/_internal/compiler/implementation/enqueue.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/enqueue.dart (revision 23257)
|
| +++ sdk/lib/_internal/compiler/implementation/enqueue.dart (working copy)
|
| @@ -282,6 +282,12 @@
|
| cls.ensureResolved(compiler);
|
| cls.implementation.forEachMember(processInstantiatedClassMember);
|
| if (isResolutionQueue) {
|
| + // Only the resolution queue needs to operate on individual
|
| + // fields. The codegen enqueuer inlines the potential field
|
| + // intializations in the constructor.
|
| + cls.implementation.forEachInstanceField((_, Element field) {
|
| + addToWorkList(field);
|
| + }, includeSuperAndInjectedMembers: true);
|
| compiler.resolver.checkClass(cls);
|
| }
|
| }
|
|
|