| 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 8ae51fadd20f237e8c5e84d0ab72c067bcb4fa50..24b6d46f0af63cfa2da53da873443a872f1a0617 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
|
| @@ -620,6 +620,9 @@ class CompileTimeConstantEvaluator extends Visitor {
|
|
|
| Send send = node.send;
|
| FunctionElement constructor = elements[send];
|
| + if (Elements.isUnresolved(constructor)) {
|
| + return signalNotCompileTimeConstant(node);
|
| + }
|
| // TODO(ahe): This is nasty: we must eagerly analyze the
|
| // constructor to ensure the redirectionTarget has been computed
|
| // correctly. Find a way to avoid this.
|
|
|