| Index: pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| diff --git a/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart b/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| index 1ac65fc957e85328b52efeb128c5be8b8b8cdb74..d3fe8de13bb02231575f9a10bb1010dd1fae609f 100644
|
| --- a/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| @@ -863,7 +863,8 @@ class TypeGraphInferrerEngine
|
| // Although we might find a better type, we have to keep
|
| // the old type around to ensure that we get a complete view
|
| // of the type graph and do not drop any flow edges.
|
| - TypeMask refinedType = computeTypeMask(compiler, value);
|
| + TypeMask refinedType =
|
| + computeTypeMask(closedWorld, compiler.backend, value);
|
| assert(TypeMask.assertIsNormalized(refinedType, closedWorld));
|
| type = new NarrowTypeInformation(type, refinedType);
|
| types.allocatedTypes.add(type);
|
|
|