| Index: pkg/compiler/lib/src/inferrer/inferrer_visitor.dart
|
| diff --git a/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart b/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart
|
| index 6a5d7f758df35298c5e19014f8e90bda047ca49f..e83746345a0439110f5868a48fc8ba9e8b9b4bf3 100644
|
| --- a/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/inferrer_visitor.dart
|
| @@ -861,16 +861,16 @@ abstract class InferrerVisitor<T, E extends MinimalInferrerEngine<T>>
|
| ConstantSystem constantSystem = compiler.backend.constantSystem;
|
| // The JavaScript backend may turn this literal into an integer at
|
| // runtime.
|
| - return types.getConcreteTypeFor(
|
| - computeTypeMask(compiler, constantSystem.createDouble(node.value)));
|
| + return types.getConcreteTypeFor(computeTypeMask(closedWorld,
|
| + compiler.backend, constantSystem.createDouble(node.value)));
|
| }
|
|
|
| T visitLiteralInt(LiteralInt node) {
|
| ConstantSystem constantSystem = compiler.backend.constantSystem;
|
| // The JavaScript backend may turn this literal into a double at
|
| // runtime.
|
| - return types.getConcreteTypeFor(
|
| - computeTypeMask(compiler, constantSystem.createInt(node.value)));
|
| + return types.getConcreteTypeFor(computeTypeMask(
|
| + closedWorld, compiler.backend, constantSystem.createInt(node.value)));
|
| }
|
|
|
| T visitLiteralList(LiteralList node) {
|
|
|