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

Unified Diff: lib/src/runner/reporter/json.dart

Issue 1960503002: Fix all strong-mode errors and warnings. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: .analysis_options Created 4 years, 7 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 | « lib/src/runner/plugin/platform_helpers.dart ('k') | lib/src/util/forkable_stream.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/reporter/json.dart
diff --git a/lib/src/runner/reporter/json.dart b/lib/src/runner/reporter/json.dart
index 1d1d1357aee77c1a9651fb452d525fde58b5d462..a3166a573fef87a68a1f462f686839677f76984f 100644
--- a/lib/src/runner/reporter/json.dart
+++ b/lib/src/runner/reporter/json.dart
@@ -184,7 +184,7 @@ class JsonReporter implements Reporter {
/// If a group doesn't have an ID yet, this assigns one and emits a new event
/// for that group.
List<int> _idsForGroups(Iterable<Group> groups, int suiteID) {
- var parentID;
+ int parentID;
return groups.map((group) {
if (_groupIDs.containsKey(group)) {
parentID = _groupIDs[group];
« no previous file with comments | « lib/src/runner/plugin/platform_helpers.dart ('k') | lib/src/util/forkable_stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698