Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: pkg/compiler/lib/src/inferrer/map_tracer.dart

Issue 1859343004: dartfmt pkg/compiler (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/inferrer/list_tracer.dart ('k') | pkg/compiler/lib/src/inferrer/node_tracer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « pkg/compiler/lib/src/inferrer/list_tracer.dart ('k') | pkg/compiler/lib/src/inferrer/node_tracer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698