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

Unified Diff: lib/src/backend/metadata.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/backend/live_test.dart ('k') | lib/src/executable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/backend/metadata.dart
diff --git a/lib/src/backend/metadata.dart b/lib/src/backend/metadata.dart
index 91bb54d07059b0a37c0efab8311cbd7af58fe899..77d69e035f1d795de9cc185ee8b097a7645c93bd 100644
--- a/lib/src/backend/metadata.dart
+++ b/lib/src/backend/metadata.dart
@@ -58,7 +58,7 @@ class Metadata {
Map<String, dynamic> onPlatform) {
if (onPlatform == null) return {};
- var result = {};
+ var result = <PlatformSelector, Metadata>{};
onPlatform.forEach((platform, metadata) {
if (metadata is Timeout || metadata is Skip) {
metadata = [metadata];
« no previous file with comments | « lib/src/backend/live_test.dart ('k') | lib/src/executable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698