| Index: pkg/analyzer_experimental/lib/src/generated/constant.dart
|
| diff --git a/pkg/analyzer_experimental/lib/src/generated/constant.dart b/pkg/analyzer_experimental/lib/src/generated/constant.dart
|
| index 9ff784526da035b286098bb8bb9813e03e689045..41d94c95db27b6fe6edb42ec7f1f9d98e323732d 100644
|
| --- a/pkg/analyzer_experimental/lib/src/generated/constant.dart
|
| +++ b/pkg/analyzer_experimental/lib/src/generated/constant.dart
|
| @@ -1294,15 +1294,15 @@ class ValidResult extends EvaluationResultImpl {
|
| return valueOf(((leftValue as int)) ~/ (_value as int));
|
| } else if (_value is double) {
|
| double result = ((leftValue as int)).toDouble() / ((_value as double));
|
| - return valueOf((result as int));
|
| + return valueOf(result.toInt());
|
| }
|
| } else if (leftValue is double) {
|
| if (_value is int) {
|
| double result = ((leftValue as double)) / ((_value as int)).toDouble();
|
| - return valueOf((result as int));
|
| + return valueOf(result.toInt());
|
| } else if (_value is double) {
|
| double result = ((leftValue as double)) / ((_value as double));
|
| - return valueOf((result as int));
|
| + return valueOf(result.toInt());
|
| }
|
| }
|
| return error(node);
|
|
|