| Index: sdk/lib/_internal/compiler/implementation/inferrer/simple_types_inferrer.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/inferrer/simple_types_inferrer.dart b/sdk/lib/_internal/compiler/implementation/inferrer/simple_types_inferrer.dart
|
| index 8be465c988de1479f01122d7beba06439ffaaf6b..dea77ff12000b85356cd53b22ff9b8defdeed855 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/inferrer/simple_types_inferrer.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/inferrer/simple_types_inferrer.dart
|
| @@ -984,8 +984,8 @@ class SimpleTypeInferrerVisitor<T>
|
| && compiler.world.fieldNeverChanges(element)) {
|
| var constant =
|
| compiler.backend.constants.getConstantForVariable(element);
|
| - if (constant != null && constant.isInt) {
|
| - return constant.value;
|
| + if (constant != null && constant.value.isInt) {
|
| + return constant.value.value;
|
| }
|
| }
|
| return null;
|
|
|