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

Unified Diff: pkg/kernel/bin/dartk.dart

Issue 2523673005: Enable strong-mode for pkg/kernel and fix some strong-mode warnings. (Closed)
Patch Set: Created 4 years, 1 month 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 | « pkg/kernel/.analysis_options ('k') | pkg/kernel/lib/transformations/continuation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/bin/dartk.dart
diff --git a/pkg/kernel/bin/dartk.dart b/pkg/kernel/bin/dartk.dart
index fa186b47aba9956db39e7cded334f522983a3aba..e2f474202e88fd55ae8b11c710b3d2dfdb903353 100755
--- a/pkg/kernel/bin/dartk.dart
+++ b/pkg/kernel/bin/dartk.dart
@@ -262,7 +262,8 @@ Future<CompilerOutcome> batchMain(
String format = options['format'] ?? defaultFormat();
String outputFile = options['out'] ?? defaultOutput();
- var customUriMappings = parseCustomUriMappings(options['url-mapping']);
+ List<String> urlMapping = options['url-mapping'] as List<String>;
+ var customUriMappings = parseCustomUriMappings(urlMapping);
var repository = new Repository();
Program program;
« no previous file with comments | « pkg/kernel/.analysis_options ('k') | pkg/kernel/lib/transformations/continuation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698