| Index: pkg/compiler/lib/src/inferrer/map_tracer.dart
|
| diff --git a/pkg/compiler/lib/src/inferrer/map_tracer.dart b/pkg/compiler/lib/src/inferrer/map_tracer.dart
|
| index 1ab3c24f87393f9d61114b3ffa9c07ad96786782..3bd0e41770cf568037a95e0203c3ae32772a8652 100644
|
| --- a/pkg/compiler/lib/src/inferrer/map_tracer.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/map_tracer.dart
|
| @@ -10,26 +10,26 @@ import '../universe/selector.dart' show Selector;
|
| import 'node_tracer.dart';
|
| import 'type_graph_nodes.dart';
|
|
|
| -Set<String> okMapSelectorsSet = new Set.from(
|
| - const <String>[
|
| - // From Object.
|
| - "==",
|
| - "hashCode",
|
| - "toString",
|
| - "noSuchMethod",
|
| - "runtimeType",
|
| - // From Map
|
| - "[]",
|
| - "isEmpty",
|
| - "isNotEmpty",
|
| - "keys",
|
| - "length",
|
| - "values",
|
| - "clear",
|
| - "containsKey",
|
| - "containsValue",
|
| - "forEach",
|
| - "remove"]);
|
| +Set<String> okMapSelectorsSet = new Set.from(const <String>[
|
| + // From Object.
|
| + "==",
|
| + "hashCode",
|
| + "toString",
|
| + "noSuchMethod",
|
| + "runtimeType",
|
| + // From Map
|
| + "[]",
|
| + "isEmpty",
|
| + "isNotEmpty",
|
| + "keys",
|
| + "length",
|
| + "values",
|
| + "clear",
|
| + "containsKey",
|
| + "containsValue",
|
| + "forEach",
|
| + "remove"
|
| +]);
|
|
|
| class MapTracerVisitor extends TracerVisitor<MapTypeInformation> {
|
| // These lists are used to keep track of newly discovered assignments to
|
| @@ -121,7 +121,7 @@ class MapTracerVisitor extends TracerVisitor<MapTypeInformation> {
|
| }
|
| }
|
| } else if (selector.isCall &&
|
| - !info.targets.every((element) => element.isFunction)) {
|
| + !info.targets.every((element) => element.isFunction)) {
|
| bailout('Passed to a closure');
|
| return;
|
| }
|
|
|