| 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 cfe1661b5c587ef5a65b2e33b4179fbf00db2786..ae3bf166ac7bd7d554c6934b5bae5afa5df837ad 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart
|
| @@ -643,8 +643,8 @@ class TypeGraphInferrerEngine
|
| if (type is! ListTypeInformation) {
|
| // For non-container types, the constant handler does
|
| // constant folding that could give more precise results.
|
| - Constant value =
|
| - compiler.constantHandler.getConstantForVariable(element);
|
| + Constant value = compiler.backend.constants
|
| + .getConstantForVariable(element);
|
| if (value != null) {
|
| if (value.isFunction) {
|
| FunctionConstant functionConstant = value;
|
|
|