Index: pkg/dev_compiler/tool/sdk_expected_errors.txt |
diff --git a/pkg/dev_compiler/tool/sdk_expected_errors.txt b/pkg/dev_compiler/tool/sdk_expected_errors.txt |
index 81c820419127a148d39fe65bbe88511c1e390a2b..8e0b1c4f9065d9f4f730191979062ecc7560c81f 100644 |
--- a/pkg/dev_compiler/tool/sdk_expected_errors.txt |
+++ b/pkg/dev_compiler/tool/sdk_expected_errors.txt |
@@ -5,86 +5,14 @@ |
[error] Invalid override. The type of 'ChunkedConverter.startChunkedConversion' ('(dynamic) → dynamic') isn't a subtype of 'Converter<S, T>.startChunkedConversion' ('(Sink<T>) → Sink<S>'). (dart:convert/chunked_conversion.dart, line 15, col 3) |
[error] Invalid override. The type of '_EventStreamSubscription.asFuture' ('([dynamic]) → Future<dynamic>') isn't a subtype of 'StreamSubscription<T>.asFuture' ('<E>([E]) → Future<E>'). (dart:html, line 40152, col 3) |
[error] Invalid override. The type of 'JsArray.[]=' ('(Object, E) → void') isn't a subtype of 'JsObject.[]=' ('(Object, dynamic) → dynamic'). (dart:js, line 363, col 3) |
-[warning] Unsound implicit cast from 'dynamic' to 'List<String>'. (dart:_debugger, line 39, col 45) |
-[warning] Unsound implicit cast from 'dynamic' to 'List<NameValuePair>'. (dart:_debugger, line 750, col 43) |
-[warning] Unsound implicit cast from 'dynamic' to 'List<String>'. (dart:_isolate_helper, line 839, col 37) |
-[warning] Unsound implicit cast from 'dynamic' to 'List<String>'. (dart:_isolate_helper, line 886, col 11) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:_interceptors/js_array.dart, line 117, col 12) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:_interceptors/js_array.dart, line 159, col 17) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:_interceptors/js_array.dart, line 167, col 17) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:_interceptors/js_array.dart, line 198, col 27) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:_interceptors/js_array.dart, line 239, col 27) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:_interceptors/js_array.dart, line 252, col 27) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:_interceptors/js_array.dart, line 264, col 27) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:_interceptors/js_array.dart, line 277, col 27) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:_interceptors/js_array.dart, line 295, col 16) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:_interceptors/js_array.dart, line 300, col 17) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:_interceptors/js_array.dart, line 443, col 27) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:_interceptors/js_array.dart, line 455, col 27) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:_interceptors/js_array.dart, line 564, col 12) |
-[warning] Unsound implicit cast from 'dynamic' to 'JSArray<String>'. (dart:_js_helper, line 79, col 37) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:_js_helper, line 882, col 16) |
-[warning] Unsound implicit cast from 'dynamic' to '() → List<Type>'. (dart:_js_mirrors, line 425, col 40) |
-[warning] Unsound implicit cast from 'dynamic' to 'List<String>'. (dart:_interceptors/js_string.dart, line 92, col 14) |
-[warning] Unsound implicit cast from 'dynamic' to 'List<String>'. (dart:_interceptors/js_string.dart, line 95, col 14) |
-[warning] Unsound implicit cast from 'dynamic' to 'LinkedHashMapCell<K, V>'. (dart:_js_helper/linked_hash_map.dart, line 119, col 40) |
-[warning] Unsound implicit cast from 'dynamic' to 'LinkedHashMapCell<K, V>'. (dart:_js_helper/linked_hash_map.dart, line 148, col 44) |
-[warning] Unsound implicit cast from 'dynamic' to 'LinkedHashMapCell<K, V>'. (dart:_js_helper/linked_hash_map.dart, line 183, col 9) |
-[warning] Unsound implicit cast from 'dynamic' to 'LinkedHashMapCell<K, V>'. (dart:_js_helper/linked_hash_map.dart, line 299, col 42) |
-[warning] Unsound implicit cast from 'dynamic' to 'LinkedHashMapCell<K, V>'. (dart:_js_helper/linked_hash_map.dart, line 308, col 12) |
-[warning] Unsound implicit cast from 'dynamic' to 'List<LinkedHashMapCell<K, V>>'. (dart:_js_helper/linked_hash_map.dart, line 312, col 12) |
-[warning] Unsound implicit cast from 'dynamic' to 'LinkedHashMapCell<K, V>'. (dart:_js_helper/linked_hash_map.dart, line 346, col 12) |
-[warning] Unsound implicit cast from 'dynamic' to 'List<LinkedHashMapCell<K, V>>'. (dart:_js_helper/linked_hash_map.dart, line 351, col 12) |
-[warning] Unsound implicit cast from 'dynamic' to 'List<String>'. (dart:_js_helper/regexp_helper.dart, line 108, col 22) |
-[warning] Unsound implicit cast from 'List<dynamic>' to 'List<String>'. (dart:_js_helper/regexp_helper.dart, line 140, col 43) |
-[warning] Unsound implicit cast from 'List<dynamic>' to 'List<String>'. (dart:_js_helper/regexp_helper.dart, line 152, col 43) |
-[warning] Unsound implicit cast from 'dynamic' to 'V'. (dart:collection, line 105, col 14) |
-[warning] Unsound implicit cast from 'dynamic' to 'V'. (dart:collection, line 108, col 14) |
-[warning] Unsound implicit cast from 'dynamic' to 'V'. (dart:collection, line 119, col 12) |
-[warning] Unsound implicit cast from 'dynamic' to 'V'. (dart:collection, line 186, col 12) |
-[warning] Unsound implicit cast from 'dynamic' to 'K'. (dart:collection, line 200, col 14) |
-[warning] Unsound implicit cast from 'dynamic' to 'V'. (dart:collection, line 268, col 17) |
-[warning] Unsound implicit cast from 'dynamic' to 'K'. (dart:collection, line 404, col 49) |
-[warning] Unsound implicit cast from 'dynamic' to 'K'. (dart:collection, line 411, col 19) |
-[warning] Unsound implicit cast from 'Object' to 'K'. (dart:collection, line 411, col 49) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:collection, line 436, col 9) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:collection, line 462, col 18) |
-[warning] Unsound implicit cast from 'dynamic' to 'LinkedHashMapCell<K, V>'. (dart:collection, line 495, col 42) |
-[warning] Unsound implicit cast from 'dynamic' to 'V'. (dart:collection, line 532, col 12) |
-[warning] Unsound implicit cast from 'dynamic' to 'K'. (dart:collection, line 569, col 14) |
-[warning] Unsound implicit cast from 'dynamic' to 'V'. (dart:collection, line 569, col 19) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:collection, line 614, col 9) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:collection, line 653, col 18) |
-[warning] Unsound implicit cast from 'dynamic' to 'K'. (dart:collection, line 689, col 49) |
-[warning] Unsound implicit cast from 'dynamic' to 'LinkedHashMapCell<K, V>'. (dart:collection, line 696, col 42) |
-[warning] Unsound implicit cast from 'dynamic' to 'K'. (dart:collection, line 697, col 40) |
-[warning] Unsound implicit cast from 'Object' to 'E'. (dart:collection, line 758, col 14) |
-[warning] Unsound implicit cast from 'dynamic' to 'List<E>'. (dart:collection, line 951, col 12) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:collection, line 1009, col 21) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:collection, line 1009, col 51) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:collection, line 1019, col 47) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:collection, line 1058, col 18) |
-[warning] Unsound implicit cast from 'Object' to 'E'. (dart:collection, line 1135, col 14) |
-[warning] Unsound implicit cast from 'dynamic' to '_LinkedHashSetCell<E>'. (dart:collection, line 1222, col 38) |
-[warning] Unsound implicit cast from 'dynamic' to '_LinkedHashSetCell<E>'. (dart:collection, line 1337, col 12) |
-[warning] Unsound implicit cast from 'dynamic' to 'List<_LinkedHashSetCell<E>>'. (dart:collection, line 1351, col 12) |
-[warning] Unsound implicit cast from 'dynamic' to '_LinkedHashSetCell<E>'. (dart:collection, line 1358, col 40) |
-[warning] Unsound implicit cast from 'dynamic' to '_LinkedHashSetCell<E>'. (dart:collection, line 1391, col 40) |
-[warning] Unsound implicit cast from 'dynamic' to '_LinkedHashSetCell<E>'. (dart:collection, line 1412, col 40) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:collection, line 1413, col 36) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:collection, line 1423, col 47) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:collection, line 1485, col 18) |
-[warning] Unsound implicit cast from 'dynamic' to 'Stream<S>'. (dart:convert/chunked_conversion.dart, line 14, col 45) |
-[warning] Unsound implicit cast from 'dynamic' to 'Sink<T>'. (dart:convert/chunked_conversion.dart, line 16, col 36) |
-[warning] Unsound implicit cast from 'dynamic' to 'List<String>'. (dart:convert, line 311, col 12) |
-[warning] Unsound implicit cast from 'dynamic' to 'T'. (dart:core/expando.dart, line 55, col 12) |
-[warning] Unsound implicit cast from 'dynamic' to 'E'. (dart:core/list.dart, line 126, col 16) |
+[warning] Unsafe implicit cast from 'List<dynamic>' to 'List<String>'. This usually indicates that type information was lost and resulted in 'dynamic' and/or a place that will have a failure at runtime. (dart:_js_helper/regexp_helper.dart, line 140, col 43) |
+[warning] Unsafe implicit cast from 'List<dynamic>' to 'List<String>'. This usually indicates that type information was lost and resulted in 'dynamic' and/or a place that will have a failure at runtime. (dart:_js_helper/regexp_helper.dart, line 152, col 43) |
+[warning] Unsafe implicit cast from 'Object' to 'K'. This usually indicates that type information was lost and resulted in 'dynamic' and/or a place that will have a failure at runtime. (dart:collection, line 411, col 49) |
+[warning] Unsafe implicit cast from 'Object' to 'E'. This usually indicates that type information was lost and resulted in 'dynamic' and/or a place that will have a failure at runtime. (dart:collection, line 758, col 14) |
+[warning] Unsafe implicit cast from 'Object' to 'E'. This usually indicates that type information was lost and resulted in 'dynamic' and/or a place that will have a failure at runtime. (dart:collection, line 1135, col 14) |
[warning] The final variable 'origin' must be initialized. (dart:html, line 177, col 3) |
[warning] The final variable 'origin' must be initialized. (dart:html, line 813, col 3) |
-[warning] Unsound implicit cast from 'dynamic' to 'List<String>'. (dart:html, line 1145, col 33) |
[warning] The final variables 'form', 'labels' and '3' more must be initialized. (dart:html, line 1691, col 3) |
-[warning] Unsound implicit cast from 'dynamic' to 'List<num>'. (dart:html, line 2723, col 14) |
-[warning] Unsound implicit cast from 'dynamic' to 'List<num>'. (dart:html, line 2725, col 14) |
[warning] The final variable 'options' must be initialized. (dart:html, line 8972, col 3) |
[warning] The final variables '_attributes', '_childElementCount' and '16' more must be initialized. (dart:html, line 13009, col 3) |
[warning] The final variables 'elements', 'form' and '4' more must be initialized. (dart:html, line 16625, col 3) |
@@ -114,14 +42,11 @@ |
[warning] The final variables 'form', 'labels' and '5' more must be initialized. (dart:html, line 32069, col 3) |
[warning] The final variables 'readyState' and 'track' must be initialized. (dart:html, line 33056, col 3) |
[warning] The final variables 'decodedFrameCount', 'droppedFrameCount' and '2' more must be initialized. (dart:html, line 33754, col 3) |
-[warning] Unsound implicit cast from 'dynamic' to 'Rectangle<num>'. (dart:html, line 37618, col 14) |
-[warning] Unsound implicit cast from 'dynamic' to 'Rectangle<num>'. (dart:html, line 37626, col 14) |
-[warning] Unsound implicit cast from 'dynamic' to 'Rectangle<num>'. (dart:html, line 37634, col 14) |
-[warning] Unsound implicit cast from '(T) → void' to '(Event) → dynamic'. (dart:html, line 40090, col 67) |
-[warning] Unsound implicit cast from '(T) → void' to '(Event) → dynamic'. (dart:html, line 40112, col 45) |
-[warning] Unsound implicit cast from 'num' to 'T'. (dart:math/rectangle.dart, line 158, col 22) |
-[warning] Unsound implicit cast from 'num' to 'T'. (dart:math/rectangle.dart, line 159, col 23) |
-[warning] Unsound implicit cast from 'num' to 'T'. (dart:math/rectangle.dart, line 282, col 10) |
+[warning] Unsafe implicit cast from '(T) → void' to '(Event) → dynamic'. This usually indicates that type information was lost and resulted in 'dynamic' and/or a place that will have a failure at runtime. (dart:html, line 40090, col 67) |
+[warning] Unsafe implicit cast from '(T) → void' to '(Event) → dynamic'. This usually indicates that type information was lost and resulted in 'dynamic' and/or a place that will have a failure at runtime. (dart:html, line 40112, col 45) |
+[warning] Unsafe implicit cast from 'num' to 'T'. This usually indicates that type information was lost and resulted in 'dynamic' and/or a place that will have a failure at runtime. (dart:math/rectangle.dart, line 158, col 22) |
+[warning] Unsafe implicit cast from 'num' to 'T'. This usually indicates that type information was lost and resulted in 'dynamic' and/or a place that will have a failure at runtime. (dart:math/rectangle.dart, line 159, col 23) |
+[warning] Unsafe implicit cast from 'num' to 'T'. This usually indicates that type information was lost and resulted in 'dynamic' and/or a place that will have a failure at runtime. (dart:math/rectangle.dart, line 282, col 10) |
[warning] The final variables 'href' and 'target' must be initialized. (dart:svg, line 60, col 3) |
[warning] The final variables 'requiredExtensions', 'requiredFeatures' and '2' more must be initialized. (dart:svg, line 489, col 3) |
[warning] The final variables 'cx', 'cy' and '1' more must be initialized. (dart:svg, line 562, col 3) |