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

Unified Diff: lib/src/measurements.dart

Issue 2233093003: make dart2js_info strong-mode clean (Closed) Base URL: git@github.com:dart-lang/dart2js_info.git@master
Patch Set: Created 4 years, 4 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
« lib/json_info_codec.dart ('K') | « lib/src/graph.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/measurements.dart
diff --git a/lib/src/measurements.dart b/lib/src/measurements.dart
index b919678450c44d58b1eb9490e55747380fd15b6b..d6453b11f7c07b79d49e7ec86c4e86ad71db65b7 100644
--- a/lib/src/measurements.dart
+++ b/lib/src/measurements.dart
@@ -135,7 +135,7 @@ class Metric {
static const Metric dynamicSend = const Metric('dynamic');
static Map<String, Metric> _nameToMetricMap = () {
- var res = {};
+ var res = <String, Metric>{};
visitAllMetrics((m, _) => res[m.name] = m);
return res;
}();
« lib/json_info_codec.dart ('K') | « lib/src/graph.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698