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

Unified Diff: bin/inference/print_summary.dart

Issue 2233093003: make dart2js_info strong-mode clean (Closed) Base URL: git@github.com:dart-lang/dart2js_info.git@master
Patch Set: update version 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
« no previous file with comments | « bin/inference/client.dart ('k') | lib/json_info_codec.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/inference/print_summary.dart
diff --git a/bin/inference/print_summary.dart b/bin/inference/print_summary.dart
index a0dbc0b1eeb2d1c82cd9a3e7652f69b81a663c12..45a7612e06b27e0f1b2863b6bee2288ead656751 100644
--- a/bin/inference/print_summary.dart
+++ b/bin/inference/print_summary.dart
@@ -81,10 +81,11 @@ class _Counter extends RecursiveInfoVisitor {
totals.addFrom(currentBundleTotals);
}
- visitFunction(FunctionInfo function) {
+ Null visitFunction(FunctionInfo function) {
var measurements = function.measurements;
- if (measurements == null) return;
+ if (measurements == null) return null;
currentBundleTotals.addFrom(measurements);
+ return null;
}
}
« no previous file with comments | « bin/inference/client.dart ('k') | lib/json_info_codec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698