| 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 bda354e297e39bae19978b2c15abe4b28dfb85c4..a8f3a8921328311d433cd8b500d876c3950a1d91 100644
|
| --- a/pkg/compiler/lib/src/compile_time_constants.dart
|
| +++ b/pkg/compiler/lib/src/compile_time_constants.dart
|
| @@ -600,7 +600,7 @@ class CompileTimeConstantEvaluator extends Visitor<AstConstant> {
|
| new AstConstant(context, node, new StringConstantExpression(text),
|
| constantSystem.createString(new LiteralDartString(text)))
|
| ];
|
| - ConstructorElement constructor = compiler.symbolConstructor;
|
| + ConstructorElement constructor = compiler.commonElements.symbolConstructor;
|
| AstConstant constant = createConstructorInvocation(
|
| node, type, constructor, CallStructure.ONE_ARG,
|
| normalizedArguments: arguments);
|
| @@ -711,7 +711,8 @@ class CompileTimeConstantEvaluator extends Visitor<AstConstant> {
|
| }
|
| return result;
|
| } else if (send.isCall) {
|
| - if (element == compiler.identicalFunction && send.argumentCount() == 2) {
|
| + if (element == compiler.commonElements.identicalFunction &&
|
| + send.argumentCount() == 2) {
|
| AstConstant left = evaluate(send.argumentsNode.nodes.head);
|
| AstConstant right = evaluate(send.argumentsNode.nodes.tail.head);
|
| if (left == null || right == null) {
|
|
|