| Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/ssa/builder.dart (revision 27526)
|
| +++ sdk/lib/_internal/compiler/implementation/ssa/builder.dart (working copy)
|
| @@ -1414,10 +1414,14 @@
|
| }
|
| }
|
|
|
| - inlinedFrom(callee, () {
|
| - buildFieldInitializers(callee.enclosingElement.implementation,
|
| + // For redirecting constructors, the fields have already been
|
| + // initialized by the caller.
|
| + if (callee.getEnclosingClass() != caller.getEnclosingClass()) {
|
| + inlinedFrom(callee, () {
|
| + buildFieldInitializers(callee.enclosingElement.implementation,
|
| fieldValues);
|
| - });
|
| + });
|
| + }
|
|
|
| int index = 0;
|
| FunctionSignature params = callee.computeSignature(compiler);
|
|
|