| 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 1c28ffcd05a678c2b1f97362a9855f0666a104a5..b812859598f16dfa35a409c030eb05df79535c67 100644
|
| --- a/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| @@ -256,7 +256,9 @@ class TypeInformationSystem extends TypeSystem<TypeInformation> {
|
| TypeMask otherType = compiler.world.allFunctions.receiverType(selector);
|
| // Conditional sends (a?.b) can still narrow the possible types of `a`,
|
| // however, we still need to consider that `a` may be null.
|
| - if (isConditional && receiver.type.isNullable) {
|
| + if (isConditional) {
|
| + // Note: we don't check that receiver.type.isNullable here because this is
|
| + // called during the graph construction.
|
| otherType = otherType.nullable();
|
| }
|
| // If this is refining to nullable subtype of `Object` just return
|
|
|