commit | 0bb7a8730a0854a3373aec4dda895a9d77eeb7ee | [log] [tgz] |
---|---|---|
author | William Hesse <whesse@google.com> | Mon Aug 06 17:55:12 2018 +0000 |
committer | William Hesse <whesse@google.com> | Mon Aug 06 17:55:12 2018 +0000 |
tree | 293625952dcb7a3ecae1e33bc38828b16cc844d1 | |
parent | 17b54c76ce9b945c6f013ad08c19268409c0694a [diff] |
Fix analysis error in pkg/smith Change-Id: Idf84bc411d08353d2235b927f6373501f9a327b1 Reviewed-on: https://dart-review.googlesource.com/68370 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
diff --git a/pkg/smith/lib/configuration.dart b/pkg/smith/lib/configuration.dart index 949efcb..f1ce8b4 100644 --- a/pkg/smith/lib/configuration.dart +++ b/pkg/smith/lib/configuration.dart
@@ -210,7 +210,7 @@ throw FormatException('Option "$option" had value "$value", which is ' 'not a List.'); } - return new List<String>.from(value); + return new List<String>.from(value as List); } // Extract options from the name and map.