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

Unified Diff: bin/debug_info.dart

Issue 2402473002: Add ClosureInfo for closures. (Closed)
Patch Set: update parse test Created 4 years, 2 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 | « no previous file | lib/info.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/debug_info.dart
diff --git a/bin/debug_info.dart b/bin/debug_info.dart
index 3c091141e003f24f0f455032ea6815ed9497f88f..ec39001dfc681dd75863a86b8d9e478c53597624 100644
--- a/bin/debug_info.dart
+++ b/bin/debug_info.dart
@@ -67,7 +67,7 @@ validateSize(AllInfo info, String debugLibName) {
_fail('$percent% size missing: $accounted (all libs + consts) '
'< $realTotal (total)');
}
- var missingTotal = tracker.missing.values.fold(0, (a, b) => a + b);
+ int missingTotal = tracker.missing.values.fold(0, (a, b) => a + b);
if (missingTotal > 0) {
var percent = (missingTotal * 100 / realTotal).toStringAsFixed(2);
_fail('$percent% size missing in libraries (sum of elements > lib.size)');
« no previous file with comments | « no previous file | lib/info.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698