Index: tool/sdk_expected_errors.txt |
diff --git a/tool/sdk_expected_errors.txt b/tool/sdk_expected_errors.txt |
index 6929938cb2eaa5ce488fc7e5ba75a7e463a4436e..028d2732abdcf60cc5be4f9664075d6097be000b 100644 |
--- a/tool/sdk_expected_errors.txt |
+++ b/tool/sdk_expected_errors.txt |
@@ -229,10 +229,10 @@ warning: [DownCastComposite] test ((dynamic) → bool) will need runtime check t |
warning: [DownCastComposite] list (List<dynamic>) will need runtime check to cast to type Iterable<T> (dart:_internal/iterable.dart, line 997, col 40) |
warning: [DownCastComposite] list (List<dynamic>) will need runtime check to cast to type Iterable<T> (dart:_internal/iterable.dart, line 1033, col 35) |
warning: [DownCastComposite] l (List<dynamic>) will need runtime check to cast to type List<T> (dart:_internal/iterable.dart, line 1115, col 31) |
-warning: [DownCastComposite] _convertToJS ((dynamic) → dynamic) will need runtime check to cast to type (E) → dynamic (dart:js, line 325, col 44) |
-warning: [DownCastComposite] super[index] (dynamic) will need runtime check to cast to type E (dart:js, line 358, col 12) |
-warning: [DownCastComposite] callMethod('splice', [index, 1])[0] (dynamic) will need runtime check to cast to type E (dart:js, line 404, col 12) |
-warning: [DownCastComposite] callMethod('pop') (dynamic) will need runtime check to cast to type E (dart:js, line 409, col 12) |
+warning: [DownCastComposite] _convertToJS ((dynamic) → dynamic) will need runtime check to cast to type (E) → dynamic (dart:js, line 326, col 44) |
+warning: [DownCastComposite] super[index] (dynamic) will need runtime check to cast to type E (dart:js, line 359, col 12) |
+warning: [DownCastComposite] callMethod('splice', [index, 1])[0] (dynamic) will need runtime check to cast to type E (dart:js, line 405, col 12) |
+warning: [DownCastComposite] callMethod('pop') (dynamic) will need runtime check to cast to type E (dart:js, line 410, col 12) |
warning: [DownCastComposite] x + other.x (num) will need runtime check to cast to type T (dart:math/point.dart, line 37, col 25) |
warning: [DownCastComposite] y + other.y (num) will need runtime check to cast to type T (dart:math/point.dart, line 37, col 38) |
warning: [DownCastComposite] x - other.x (num) will need runtime check to cast to type T (dart:math/point.dart, line 46, col 25) |
@@ -269,3 +269,90 @@ warning: [DownCastComposite] max(a.y, b.y) - top (num) will need runtime check t |
warning: [DownCastComposite] _clampToZero(width) (num) will need runtime check to cast to type T (dart:math/rectangle.dart, line 247, col 28) |
warning: [DownCastComposite] _clampToZero(height) (num) will need runtime check to cast to type T (dart:math/rectangle.dart, line 263, col 30) |
warning: [DownCastComposite] interfaceThunk() (dynamic) will need runtime check to cast to type List<Type> (dart:_js_mirrors, line 127, col 31) |
+severe: [AnalyzerMessage] The argument type '(dynamic) → Iterable<String>' cannot be assigned to the parameter type '(Node) → void' (dart:html, line 5456, col 23) |
+severe: [AnalyzerMessage] The method '_registerCustomElement' is not defined for the class 'HtmlDocument' (dart:html, line 8363, col 5) |
+severe: [AnalyzerMessage] 14 positional arguments expected, but 18 found (dart:html, line 10899, col 185) |
+severe: [AnalyzerMessage] The getter 'name' is not defined for the class 'Node' (dart:html, line 14448, col 32) |
+severe: [AnalyzerMessage] The getter 'value' is not defined for the class 'Node' (dart:html, line 14460, col 34) |
+severe: [StaticTypeError] Type check failed: new _ElementListEventStreamImpl(e, _eventType, useCapture) (_ElementListEventStreamImpl<dynamic>) is not of type ElementStream<T> because e cannot be typed as Iterable<Element> (dart:html, line 15655, col 12) |
+severe: [StaticTypeError] Type check failed: new _ElementListEventStreamImpl(e, _eventTypeGetter(e), useCapture) (_ElementListEventStreamImpl<dynamic>) is not of type ElementStream<T> because e cannot be typed as Iterable<Element> (dart:html, line 16001, col 12) |
+severe: [AnalyzerMessage] Missing concrete implementation of 'EventTarget._addEventListener_1', 'EventTarget._removeEventListener_3', 'EventTarget._removeEventListener_1', 'EventTarget._removeEventListener_2' and 7 more (dart:html, line 18467, col 7) |
+severe: [AnalyzerMessage] Missing concrete implementation of 'Event._stopImmediatePropagation_1', getter 'DartHtmlDomObject.raw', 'Event._preventDefault_1', setter 'DartHtmlDomObject.raw' and 4 more (dart:html, line 18615, col 7) |
+severe: [AnalyzerMessage] The method 'makeLeafDispatchRecord' is not defined for the class 'KeyEvent' (dart:html, line 18661, col 12) |
+severe: [AnalyzerMessage] The method 'setDispatchProperty' is not defined for the class 'KeyEvent' (dart:html, line 18731, col 5) |
+severe: [AnalyzerMessage] Undefined class 'DataTransfer' (dart:html, line 18775, col 3) |
+severe: [AnalyzerMessage] The getter 'clipboardData' is not defined for the class 'KeyboardEvent' (dart:html, line 18775, col 45) |
+severe: [AnalyzerMessage] Missing concrete implementation of setter 'DartHtmlDomObject.raw', 'Event._initEvent_1', getter 'DartHtmlDomObject.raw', 'Event._stopImmediatePropagation_1' and 2 more (dart:html, line 18849, col 7) |
+severe: [AnalyzerMessage] Undefined class 'DataTransfer' (dart:html, line 18861, col 3) |
+severe: [AnalyzerMessage] The getter 'clipboardData' is not defined for the class 'Event' (dart:html, line 18861, col 45) |
+severe: [AnalyzerMessage] The method 'matches' is not defined for the class 'EventTarget' (dart:html, line 18907, col 18) |
+severe: [AnalyzerMessage] The getter 'parent' is not defined for the class 'EventTarget' (dart:html, line 18908, col 23) |
+severe: [AnalyzerMessage] The getter 'parent' is not defined for the class 'EventTarget' (dart:html, line 18909, col 56) |
+severe: [AnalyzerMessage] Directives must appear before any declarations (dart:html, line 19312, col 1) |
+severe: [AnalyzerMessage] The name 'Entry' is not a type and cannot be used as a parameterized type (dart:html, line 19378, col 44) |
+severe: [AnalyzerMessage] Expected to find ';' (dart:html, line 19429, col 48) |
+severe: [AnalyzerMessage] Undefined name 'console' (dart:html, line 19437, col 7) |
+severe: [AnalyzerMessage] Undefined name 'console' (dart:html, line 19443, col 5) |
+severe: [AnalyzerMessage] Undefined name 'js' (dart:html, line 19460, col 21) |
+severe: [AnalyzerMessage] Undefined name 'js' (dart:html, line 19461, col 23) |
+severe: [AnalyzerMessage] Undefined name 'js' (dart:html, line 19462, col 20) |
+severe: [AnalyzerMessage] The name 'File' is not defined and cannot be used in an 'is' expression (dart:html_common/conversions.dart, line 103, col 14) |
+severe: [AnalyzerMessage] The name 'Blob' is not defined and cannot be used in an 'is' expression (dart:html_common/conversions.dart, line 104, col 14) |
+severe: [AnalyzerMessage] The name 'FileList' is not defined and cannot be used in an 'is' expression (dart:html_common/conversions.dart, line 105, col 14) |
+severe: [AnalyzerMessage] The name 'ImageData' is not defined and cannot be used in an 'is' expression (dart:html_common/conversions.dart, line 108, col 14) |
+severe: [AnalyzerMessage] Classes can only implement other classes (dart:html_common/conversions.dart, line 269, col 42) |
+severe: [AnalyzerMessage] Undefined class 'gl.ContextAttributes' (dart:html_common/conversions.dart, line 269, col 42) |
+severe: [AnalyzerMessage] Undefined class 'gl.ContextAttributes' (dart:html_common/conversions.dart, line 283, col 1) |
+severe: [AnalyzerMessage] The name 'gl.ContextAttributes' is not defined and cannot be used in an 'is' expression (dart:html_common/conversions.dart, line 285, col 34) |
+severe: [AnalyzerMessage] Classes can only implement other classes (dart:html_common/conversions.dart, line 306, col 34) |
+severe: [AnalyzerMessage] Undefined class 'ImageData' (dart:html_common/conversions.dart, line 306, col 34) |
+severe: [AnalyzerMessage] Undefined class 'ImageData' (dart:html_common/conversions.dart, line 314, col 1) |
+severe: [AnalyzerMessage] The name 'ImageData' is not defined and cannot be used in an 'is' expression (dart:html_common/conversions.dart, line 324, col 26) |
+severe: [AnalyzerMessage] Undefined class 'ImageData' (dart:html_common/conversions.dart, line 352, col 31) |
+severe: [AnalyzerMessage] The function 'convertDartClosureToJS' is not defined (dart:html_common/conversions_dart2js.dart, line 89, col 14) |
+severe: [AnalyzerMessage] The function 'convertDartClosureToJS' is not defined (dart:html_common/conversions_dart2js.dart, line 90, col 15) |
+severe: [AnalyzerMessage] The argument type '(dynamic) → bool' cannot be assigned to the parameter type '(String) → void' (dart:html_common/css_class_set.dart, line 162, col 22) |
+severe: [InvalidMethodOverride] Invalid override. The type of CssClassSetImpl.difference ((Set<String>) → Set<String>) is not a subtype of Set<String>.difference ((Set<Object>) → Set<String>). (dart:html_common/css_class_set.dart, line 186, col 3) |
+severe: [AnalyzerMessage] The getter 'userAgent' is not defined for the class 'Navigator' (dart:html_common/device.dart, line 23, col 51) |
+severe: [StaticTypeError] Type check failed: new WhereIterable(_childNodes, (n) => n is Element) (WhereIterable<dynamic>) is not of type Iterable<Element> because _childNodes cannot be typed as Iterable<Element> (dart:html_common/filtered_element_list.dart, line 34, col 7) |
+warning: [DownCastComposite] new List.from(_elementIterable).map((e) => e.style) (Iterable<dynamic>) will need runtime check to cast to type Iterable<CssStyleDeclaration> (dart:html, line 811, col 46) |
+warning: [DownCastComposite] wrap_jso(JS("List<Node>", "#.children", this.raw)) (dynamic) will need runtime check to cast to type List<Node> (dart:html, line 4526, col 31) |
+warning: [DownCastComposite] copy (List<dynamic>) will need runtime check to cast to type Iterable<Element> (dart:html, line 4771, col 21) |
+warning: [DownCastComposite] test ((dynamic) → bool) will need runtime check to cast to type (Element) → bool (dart:html, line 5167, col 41) |
+warning: [DownCastComposite] copy (List<dynamic>) will need runtime check to cast to type Iterable<Element> (dart:html, line 5790, col 21) |
+warning: [DownCastComposite] wrap_jso(JS("List<Node>", "#.children", this.raw)) (dynamic) will need runtime check to cast to type List<Node> (dart:html, line 7316, col 31) |
+warning: [DownCastComposite] wrap_jso(JS("List<Node>", "#.path", this.raw)) (dynamic) will need runtime check to cast to type List<Node> (dart:html, line 7618, col 26) |
+warning: [DownCastComposite] request(url, method: method, sendData: sendData).then((xhr) {return xhr.responseText;}) (Future<dynamic>) will need runtime check to cast to type Future<String> (dart:html, line 8708, col 14) |
+warning: [DownCastComposite] wrap_jso(JS("List<Node>", "#.labels", this.raw)) (dynamic) will need runtime check to cast to type List<Node> (dart:html, line 9629, col 28) |
+warning: [DownCastComposite] copy (List<dynamic>) will need runtime check to cast to type Iterable<Node> (dart:html, line 11223, col 23) |
+warning: [DownCastComposite] wrap_jso(JS('List', '#.childNodes', this.raw)) (dynamic) will need runtime check to cast to type List<Node> (dart:html, line 11305, col 32) |
+warning: [DownCastComposite] wrap_jso(JS("List<Node>", "#.children", this.raw)) (dynamic) will need runtime check to cast to type List<Node> (dart:html, line 11827, col 31) |
+warning: [DownCastComposite] wrap_jso(JS("List<Node>", "#.raw.querySelectorAll(#)", this, unwrap_jso(selectors))) (dynamic) will need runtime check to cast to type List<Node> (dart:html, line 11835, col 53) |
+warning: [DownCastComposite] _wrapZone(callback) (dynamic) will need runtime check to cast to type (num) → void (dart:html, line 12824, col 35) |
+warning: [DownCastComposite] _HEIGHT (List<dynamic>) will need runtime check to cast to type List<String> (dart:html, line 14986, col 32) |
+warning: [DownCastComposite] _WIDTH (List<dynamic>) will need runtime check to cast to type List<String> (dart:html, line 14989, col 32) |
+warning: [DownCastComposite] elementList (dynamic) will need runtime check to cast to type List<Element> (dart:html, line 15042, col 20) |
+warning: [DownCastComposite] _HEIGHT (List<dynamic>) will need runtime check to cast to type List<String> (dart:html, line 15076, col 32) |
+warning: [DownCastComposite] _WIDTH (List<dynamic>) will need runtime check to cast to type List<String> (dart:html, line 15078, col 32) |
+warning: [DownCastComposite] _HEIGHT (List<dynamic>) will need runtime check to cast to type List<String> (dart:html, line 15108, col 32) |
+warning: [DownCastComposite] _WIDTH (List<dynamic>) will need runtime check to cast to type List<String> (dart:html, line 15110, col 55) |
+warning: [DownCastComposite] e (ElementList<dynamic>) will need runtime check to cast to type Iterable<Element> (dart:html, line 15655, col 44) |
+warning: [DownCastComposite] this.where((event) => event.target.matchesWithAncestors(selector)).map((e) {e._selector = selector; return e;}) (Stream<dynamic>) will need runtime check to cast to type Stream<T> (dart:html, line 15733, col 41) |
+warning: [DownCastComposite] this.where((event) => event.target.matchesWithAncestors(selector)).map((e) {e._selector = selector; return e;}) (Stream<dynamic>) will need runtime check to cast to type Stream<T> (dart:html, line 15757, col 41) |
+warning: [DownCastComposite] pool.stream.listen(onData, onError: onError, onDone: onDone, cancelOnError: cancelOnError) (StreamSubscription<dynamic>) will need runtime check to cast to type StreamSubscription<T> (dart:html, line 15772, col 12) |
+warning: [DownCastComposite] pool.stream.listen(onData) (StreamSubscription<dynamic>) will need runtime check to cast to type StreamSubscription<T> (dart:html, line 15781, col 12) |
+warning: [DownCastComposite] _onData (dynamic) will need runtime check to cast to type (Event) → dynamic (dart:html, line 15851, col 44) |
+warning: [DownCastComposite] _onData (dynamic) will need runtime check to cast to type (Event) → dynamic (dart:html, line 15857, col 47) |
+warning: [DownCastComposite] e (ElementList<dynamic>) will need runtime check to cast to type Iterable<Element> (dart:html, line 16001, col 44) |
+warning: [DownCastComposite] attrs (dynamic) will need runtime check to cast to type Iterable<String> (dart:html, line 17922, col 9) |
+warning: [DownCastComposite] uriAttrs (dynamic) will need runtime check to cast to type Iterable<String> (dart:html, line 17923, col 9) |
+warning: [DownCastComposite] attrs (dynamic) will need runtime check to cast to type Iterable<String> (dart:html, line 17960, col 9) |
+warning: [DownCastComposite] uriAttrs (dynamic) will need runtime check to cast to type Iterable<String> (dart:html, line 17961, col 9) |
+warning: [DownCastComposite] allowedElements ?? const [] (Object) will need runtime check to cast to type Iterable<String> (dart:html, line 18093, col 33) |
+warning: [DownCastComposite] allowedAttributes ?? const [] (Object) will need runtime check to cast to type Iterable<String> (dart:html, line 18094, col 25) |
+warning: [DownCastComposite] allowedUriAttributes ?? const [] (Object) will need runtime check to cast to type Iterable<String> (dart:html, line 18095, col 28) |
+warning: [DownCastComposite] _list[index] (dynamic) will need runtime check to cast to type E (dart:html, line 18281, col 31) |
+warning: [DownCastComposite] _list.removeAt(index) (dynamic) will need runtime check to cast to type E (dart:html, line 18295, col 28) |
+warning: [DownCastComposite] _list (List<dynamic>) will need runtime check to cast to type List<Node> (dart:html, line 18311, col 29) |
+warning: [DownCastComposite] _iterator.current (dynamic) will need runtime check to cast to type E (dart:html, line 18326, col 20) |
+warning: [DownCastComposite] _validateToken ((String) → String) will need runtime check to cast to type (Object) → dynamic (dart:html_common/css_class_set.dart, line 148, col 44) |