| Index: sdk/lib/_internal/compiler/implementation/inferrer/type_graph_nodes.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/inferrer/type_graph_nodes.dart (revision 27800)
|
| +++ sdk/lib/_internal/compiler/implementation/inferrer/type_graph_nodes.dart (working copy)
|
| @@ -455,7 +455,7 @@
|
| this, element, arguments, typedSelector, remove: false);
|
| }
|
|
|
| - if (receiver.type.isContainer && selector.isIndex()) {
|
| + if (returnsElementType(typedSelector)) {
|
| // Find the [ElementInContainerTypeInformation] node and tell
|
| // that this node is a user of it. Later, when the element
|
| // type changes, this node will be notified.
|
|
|