Index: sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart b/sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart |
index 86aff81c27b3a2e82981f05d4b7d3eaeda43f76e..4fe4e171392162649f92c6054546c19ea5393dd1 100644 |
--- a/sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart |
+++ b/sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart |
@@ -778,12 +778,12 @@ class TypeGraphInferrerEngine |
if (type is! ListTypeInformation && type is! MapTypeInformation) { |
// For non-container types, the constant handler does |
// constant folding that could give more precise results. |
- ConstExp constant = compiler.backend.constants |
+ ConstantExpression constant = compiler.backend.constants |
.getConstantForVariable(element); |
if (constant != null) { |
- Constant value = constant.value; |
+ ConstantValue value = constant.value; |
if (value.isFunction) { |
- FunctionConstant functionConstant = value; |
+ FunctionConstantValue functionConstant = value; |
type = types.allocateClosure(node, functionConstant.element); |
} else { |
// Although we might find a better type, we have to keep |