Index: dart/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart b/dart/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart |
index 63e89c3ec3317346f6b79a90d46f7edbaef0a772..3505466746b2aef2374d67c6692c7cc33639bbcf 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart |
@@ -581,6 +581,7 @@ class CompileTimeConstantEvaluator extends Visitor { |
Send send = node.send; |
FunctionElement constructor = elements[send]; |
+ constructor = constructor.redirectionTarget; |
ClassElement classElement = constructor.getEnclosingClass(); |
if (classElement.isInterface()) { |
compiler.resolver.resolveMethodElement(constructor); |