Index: tool/sdk_expected_errors.txt |
diff --git a/tool/sdk_expected_errors.txt b/tool/sdk_expected_errors.txt |
index 216c9f13b6492dc1bc6eee0f96245e8a8b1f1587..b70e47d082f2f2ed67541cb1c1859579218b0db5 100644 |
--- a/tool/sdk_expected_errors.txt |
+++ b/tool/sdk_expected_errors.txt |
@@ -2,7 +2,10 @@ severe: [AnalyzerMessage] The argument type 'InternalMap' cannot be assigned to |
severe: [STATIC_TYPE_ERROR] Type check failed: x (InternalMap) is not of type Map<dynamic, dynamic> (dart:_isolate_helper/isolate_serialization.dart, line 47, col 47) |
severe: [AnalyzerMessage] Missing concrete implementation of 'num.==' (dart:_interceptors/js_number.dart, line 12, col 7) |
severe: [AnalyzerMessage] Missing concrete implementation of 'String.==' (dart:_interceptors/js_string.dart, line 14, col 7) |
-severe: [STATIC_TYPE_ERROR] Type check failed: (_BroadcastSubscription<T> subscription) {subscription._close();} ((_BroadcastSubscription<T>) → void) is not of type (_BufferingStreamSubscription<T>) → void because (_BroadcastSubscription<T> subscription) {subscription._close();} cannot be typed as (_BufferingStreamSubscription<T>) → void (dart:async/broadcast_stream_controller.dart, line 371, col 24) |
+severe: [STATIC_TYPE_ERROR] Type check failed: (_BroadcastSubscription<T> subscription) {subscription._close();} ((_BroadcastSubscription<T>) → void) is not of type (_BufferingStreamSubscription<T>) → void (dart:async/broadcast_stream_controller.dart, line 371, col 24) |
+severe: [STATIC_TYPE_ERROR] Type check failed: _nullDataHandler ((dynamic) → void) is not of type (T) → void (dart:async/stream_impl.dart, line 153, col 42) |
+severe: [STATIC_TYPE_ERROR] Type check failed: _defaultHandleData ((dynamic, EventSink<dynamic>) → void) is not of type (S, EventSink<T>) → void (dart:async/stream_transformers.dart, line 234, col 48) |
+severe: [STATIC_TYPE_ERROR] Type check failed: _defaultHandleError ((dynamic, StackTrace, EventSink<dynamic>) → void) is not of type (Object, StackTrace, EventSink<T>) → void (dart:async/stream_transformers.dart, line 235, col 50) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to Iterable<SendPort> (dart:_isolate_helper, line 574, col 29) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to List<String> (dart:_isolate_helper, line 839, col 37) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to List<String> (dart:_isolate_helper, line 886, col 11) |
@@ -61,7 +64,6 @@ warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to () → voi |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to () → void (dart:async/stream.dart, line 1277, col 53) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from _ControllerSubscription<dynamic> to StreamSubscription<T> (dart:async/stream_controller.dart, line 516, col 12) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from _StreamController<dynamic> to _EventSink<T> (dart:async/stream_controller.dart, line 798, col 15) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from (dynamic) → void to (T) → void (dart:async/stream_impl.dart, line 153, col 42) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from (dynamic) → dynamic to (T) → void (dart:async/stream_impl.dart, line 154, col 15) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from StreamSubscription<dynamic> to StreamSubscription<T> (dart:async/stream_impl.dart, line 476, col 12) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from (dynamic) → dynamic to (StreamSubscription<dynamic>) → void (dart:async/stream_impl.dart, line 813, col 28) |
@@ -75,22 +77,7 @@ warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to _Future<boo |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to T (dart:async/stream_pipe.dart, line 104, col 15) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to T (dart:async/stream_pipe.dart, line 235, col 21) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Object to T (dart:async/stream_pipe.dart, line 426, col 29) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from (dynamic, EventSink<dynamic>) → void to (S, EventSink<T>) → void (dart:async/stream_transformers.dart, line 234, col 48) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from (dynamic, StackTrace, EventSink<dynamic>) → void to (Object, StackTrace, EventSink<T>) → void (dart:async/stream_transformers.dart, line 235, col 50) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from (dynamic) → dynamic to (Timer) → void (dart:async/timer.dart, line 80, col 19) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Zone, ZoneDelegate, Zone, dynamic, StackTrace) → dynamic (dart:async/zone.dart, line 138, col 28) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Zone, ZoneDelegate, Zone, () → dynamic) → dynamic (dart:async/zone.dart, line 141, col 12) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Zone, ZoneDelegate, Zone, (dynamic) → dynamic, dynamic) → dynamic (dart:async/zone.dart, line 142, col 17) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Zone, ZoneDelegate, Zone, (dynamic, dynamic) → dynamic, dynamic, dynamic) → dynamic (dart:async/zone.dart, line 143, col 18) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Zone, ZoneDelegate, Zone, () → dynamic) → () → dynamic (dart:async/zone.dart, line 144, col 25) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Zone, ZoneDelegate, Zone, (dynamic) → dynamic) → (dynamic) → dynamic (dart:async/zone.dart, line 147, col 30) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Zone, ZoneDelegate, Zone, (dynamic, dynamic) → dynamic) → (dynamic, dynamic) → dynamic (dart:async/zone.dart, line 150, col 31) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Zone, ZoneDelegate, Zone, Object, StackTrace) → AsyncError (dart:async/zone.dart, line 153, col 22) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Zone, ZoneDelegate, Zone, () → dynamic) → void (dart:async/zone.dart, line 156, col 26) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Zone, ZoneDelegate, Zone, Duration, () → void) → Timer (dart:async/zone.dart, line 159, col 21) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Zone, ZoneDelegate, Zone, Duration, (Timer) → void) → Timer (dart:async/zone.dart, line 160, col 28) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Zone, ZoneDelegate, Zone, String) → void (dart:async/zone.dart, line 163, col 15) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Zone, ZoneDelegate, Zone, ZoneSpecification, Map<dynamic, dynamic>) → Zone (dart:async/zone.dart, line 164, col 13) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from (dynamic) → dynamic to (Timer) → void (dart:async/zone.dart, line 962, col 16) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to V (dart:collection, line 98, col 14) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to V (dart:collection, line 101, col 14) |
@@ -98,7 +85,6 @@ warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to V (dart:col |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to V (dart:collection, line 179, col 12) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to K (dart:collection, line 193, col 14) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to V (dart:collection, line 261, col 17) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Object) → bool (dart:collection, line 372, col 21) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to K (dart:collection, line 397, col 49) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to K (dart:collection, line 404, col 19) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to K (dart:collection, line 404, col 49) |
@@ -111,7 +97,6 @@ warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to V (dart:col |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to K (dart:collection, line 642, col 14) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to V (dart:collection, line 642, col 25) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to V (dart:collection, line 665, col 12) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Object) → bool (dart:collection, line 795, col 21) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to K (dart:collection, line 820, col 49) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to K (dart:collection, line 828, col 19) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to K (dart:collection, line 828, col 30) |
@@ -119,7 +104,6 @@ warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:col |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection, line 889, col 18) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Object to E (dart:collection, line 951, col 14) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection, line 962, col 12) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Object) → bool (dart:collection, line 1194, col 21) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection, line 1202, col 21) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection, line 1202, col 51) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection, line 1212, col 47) |
@@ -130,7 +114,6 @@ warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:col |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection, line 1357, col 12) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection, line 1362, col 12) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection, line 1431, col 19) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Object) → bool (dart:collection, line 1596, col 21) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection, line 1606, col 21) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection, line 1606, col 36) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection, line 1616, col 47) |
@@ -149,7 +132,6 @@ warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from _LinkedListLink to E ( |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from _LinkedListLink to E (dart:collection/linked_list.dart, line 134, col 14) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from _LinkedListLink to E (dart:collection/linked_list.dart, line 192, col 16) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from _LinkedListLink to E (dart:collection/linked_list.dart, line 249, col 16) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (dynamic, dynamic) → int (dart:collection/list.dart, line 305, col 21) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Iterable<E> to List<dynamic> (dart:collection/list.dart, line 365, col 19) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection/list.dart, line 377, col 27) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection/list.dart, line 381, col 27) |
@@ -168,8 +150,6 @@ warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from List<dynamic> to Itera |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection/queue.dart, line 738, col 16) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from _SplayTreeNode<dynamic> to _SplayTreeNode<K> (dart:collection/splay_tree.dart, line 155, col 12) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from _SplayTreeNode<dynamic> to _SplayTreeNode<K> (dart:collection/splay_tree.dart, line 171, col 12) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (K, K) → int (dart:collection/splay_tree.dart, line 269, col 23) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Object) → bool (dart:collection/splay_tree.dart, line 270, col 21) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to K (dart:collection/splay_tree.dart, line 279, col 35) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to V (dart:collection/splay_tree.dart, line 279, col 40) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Object to K (dart:collection/splay_tree.dart, line 332, col 25) |
@@ -187,8 +167,6 @@ warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to K (dart:col |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to K (dart:collection/splay_tree.dart, line 632, col 39) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to V (dart:collection/splay_tree.dart, line 637, col 42) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from _SplayTreeNode<dynamic> to _SplayTreeNode<K> (dart:collection/splay_tree.dart, line 645, col 55) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (E, E) → int (dart:collection/splay_tree.dart, line 695, col 23) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (Object) → bool (dart:collection/splay_tree.dart, line 696, col 21) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Iterable<dynamic> to Iterable<E> (dart:collection/splay_tree.dart, line 709, col 29) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection/splay_tree.dart, line 727, col 12) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:collection/splay_tree.dart, line 732, col 12) |
@@ -212,7 +190,7 @@ warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to (Object) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to (Object) → Object (dart:convert/json.dart, line 895, col 15) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Sink<dynamic> to Sink<String> (dart:convert/line_splitter.dart, line 24, col 44) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to T (dart:core/expando.dart, line 55, col 12) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Function to (int) → E (dart:core/iterable.dart, line 319, col 22) |
+warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from (int) → Object to (int) → E (dart:core/iterable.dart, line 319, col 22) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:core/list.dart, line 121, col 16) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from List<dynamic> to List<E> (dart:core/list.dart, line 124, col 12) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from Iterable<int> to List<dynamic> (dart:core/string.dart, line 121, col 17) |
@@ -272,7 +250,7 @@ warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from num to T (dart:math/re |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from num to T (dart:math/rectangle.dart, line 247, col 28) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from num to T (dart:math/rectangle.dart, line 263, col 30) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to List<String> (dart:_debugger, line 25, col 5) |
-warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from (dynamic) → dynamic to (E) → dynamic (dart:js, line 326, col 44) |
+severe: [STATIC_TYPE_ERROR] Type check failed: _convertToJS ((dynamic) → dynamic) is not of type (E) → dynamic (dart:js, line 326, col 44) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:js, line 359, col 12) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:js, line 405, col 12) |
warning: [DOWN_CAST_COMPOSITE] Unsound implicit cast from dynamic to E (dart:js, line 410, col 12) |
@@ -286,13 +264,13 @@ severe: [INVALID_FIELD_OVERRIDE] Field declaration MutableRectangle<num>.left ca |
severe: [INVALID_FIELD_OVERRIDE] Field declaration MutableRectangle<num>.top cannot be overridden in CssRect. (dart:html, line 15352, col 3) |
severe: [AnalyzerMessage] The method 'matchesWithAncestors' is not defined for the class 'EventTarget' (dart:html, line 15949, col 31) |
severe: [AnalyzerMessage] The method 'matchesWithAncestors' is not defined for the class 'EventTarget' (dart:html, line 15973, col 31) |
-severe: [AnalyzerMessage] Missing concrete implementation of 'EventTarget._addEventListener_1', 'EventTarget._removeEventListener_3', 'EventTarget._removeEventListener_1', 'EventTarget._removeEventListener_2' and 7 more (dart:html, line 18682, col 7) |
-severe: [AnalyzerMessage] Missing concrete implementation of 'KeyboardEvent._getModifierState_1', 'Event._stopImmediatePropagation_1', setter 'DartHtmlDomObject.raw', 'Event._preventDefault_1' and 4 more (dart:html, line 18830, col 7) |
+severe: [AnalyzerMessage] Missing concrete implementation of 'EventTarget._addEventListener_1', 'EventTarget._addEventListener_2', 'EventTarget._addEventListener_3', 'EventTarget._addEventListener_4' and 7 more (dart:html, line 18682, col 7) |
+severe: [AnalyzerMessage] Missing concrete implementation of 'Event._initEvent_1', 'Event._preventDefault_1', 'Event._stopImmediatePropagation_1', 'Event._stopPropagation_1' and 4 more (dart:html, line 18830, col 7) |
severe: [AnalyzerMessage] The method 'makeLeafDispatchRecord' is not defined for the class 'KeyEvent' (dart:html, line 18876, col 12) |
severe: [AnalyzerMessage] The method 'setDispatchProperty' is not defined for the class 'KeyEvent' (dart:html, line 18946, col 5) |
severe: [AnalyzerMessage] Undefined class 'DataTransfer' (dart:html, line 18990, col 3) |
severe: [AnalyzerMessage] The getter 'clipboardData' is not defined for the class 'KeyboardEvent' (dart:html, line 18990, col 45) |
-severe: [AnalyzerMessage] Missing concrete implementation of getter 'DartHtmlDomObject.raw', 'Event._initEvent_1', 'Event._stopImmediatePropagation_1', setter 'DartHtmlDomObject.raw' and 2 more (dart:html, line 19063, col 7) |
+severe: [AnalyzerMessage] Missing concrete implementation of 'Event._initEvent_1', 'Event._preventDefault_1', 'Event._stopImmediatePropagation_1', 'Event._stopPropagation_1' and 2 more (dart:html, line 19063, col 7) |
severe: [AnalyzerMessage] Undefined class 'DataTransfer' (dart:html, line 19075, col 3) |
severe: [AnalyzerMessage] The getter 'clipboardData' is not defined for the class 'Event' (dart:html, line 19075, col 45) |
severe: [AnalyzerMessage] The method 'matches' is not defined for the class 'EventTarget' (dart:html, line 19121, col 18) |