| Index: pkg/compiler/lib/src/compile_time_constants.dart
|
| diff --git a/pkg/compiler/lib/src/compile_time_constants.dart b/pkg/compiler/lib/src/compile_time_constants.dart
|
| index 883a124aa5f426f6691c68ee6aee3c6544a80564..eeba01fb9647fde2606ae2918121807a189adec5 100644
|
| --- a/pkg/compiler/lib/src/compile_time_constants.dart
|
| +++ b/pkg/compiler/lib/src/compile_time_constants.dart
|
| @@ -586,13 +586,14 @@ class CompileTimeConstantEvaluator extends Visitor<AstConstant> {
|
| }
|
|
|
| AstConstant visitLiteralSymbol(LiteralSymbol node) {
|
| - ResolutionInterfaceType type = commonElements.symbolType;
|
| + ResolutionInterfaceType type = commonElements.symbolImplementationType;
|
| String text = node.slowNameString;
|
| List<AstConstant> arguments = <AstConstant>[
|
| new AstConstant(context, node, new StringConstantExpression(text),
|
| constantSystem.createString(new LiteralDartString(text)))
|
| ];
|
| - ConstructorElement constructor = compiler.commonElements.symbolConstructor;
|
| + ConstructorElement constructor =
|
| + compiler.commonElements.symbolConstructorTarget;
|
| AstConstant constant = createConstructorInvocation(
|
| node, type, constructor, CallStructure.ONE_ARG,
|
| normalizedArguments: arguments);
|
|
|