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

Unified Diff: lib/src/report.dart

Issue 1245013002: some fixes for --strong warnings (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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
Index: lib/src/report.dart
diff --git a/lib/src/report.dart b/lib/src/report.dart
index a0baa3aead7f66f95630177212cb8cb1cfe2e256..d7cc1ae8f74e41935d20138dbfa447a41880edab 100644
--- a/lib/src/report.dart
+++ b/lib/src/report.dart
@@ -204,7 +204,7 @@ class _Table {
while (abbreviations[headerName] != null) headerName = "$headerName'";
abbreviations[headerName] = name;
}
- widths.add(max(5, headerName.length + 1));
+ widths.add(max(5, headerName.length + 1) as int);
header.add(headerName);
_totalColumns++;
}

Powered by Google App Engine
This is Rietveld 408576698