| Index: sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart b/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
|
| index f9339f03d14b769e54198083f3a195aaa8f06ce0..2c57097e4d0780419cdd47cfe35030b2a5d72ba0 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
|
| @@ -713,7 +713,12 @@ class CompileTimeConstantEvaluator extends Visitor {
|
| type = constructor.computeTargetType(compiler, type);
|
| }
|
|
|
| - constructor = constructor.redirectionTarget;
|
| + FunctionElement target = constructor.redirectionTarget;
|
| + if (target != null) {
|
| + constructor = target;
|
| + } else {
|
| + constructor = constructor.defaultImplementation;
|
| + }
|
| ClassElement classElement = constructor.getEnclosingClass();
|
| // The constructor must be an implementation to ensure that field
|
| // initializers are handled correctly.
|
|
|