20e402c43d
Really, this works around them, but the workaround is all round better code. Remove the Dart implementations of min() and max() and just forward to the JS ones. In DDC, all numbers are double, so the type checks to handle them specifically aren't meaningful. Also, we don't need the other special case checks in there to help dart2js optimize them. R=vsm@google.com Review URL: https://codereview.chromium.org/2386493003 .
176 lines
18 KiB
Plaintext
176 lines
18 KiB
Plaintext
[error] Could not infer type parameter T, _ControllerEventSinkWrapper<dynamic> must be of type EventSink<T>. (dart:async/stream.dart, line 1346, col 16)
|
|
[error] The argument type '_ControllerEventSinkWrapper' cannot be assigned to the parameter type 'EventSink<T>'. (dart:async/stream.dart, line 1346, col 53)
|
|
[error] Invalid override. The type of ChunkedConverter.bind ((dynamic) → dynamic) is not a subtype of Converter<S, T>.bind ((Stream<S>) → Stream<T>). (dart:convert/chunked_conversion.dart, line 14, col 3)
|
|
[error] Invalid override. The type of ChunkedConverter.bind ((dynamic) → dynamic) is not a subtype of StreamTransformer<S, T>.bind ((Stream<S>) → Stream<T>). (dart:convert/chunked_conversion.dart, line 14, col 3)
|
|
[error] Invalid override. The type of ChunkedConverter.startChunkedConversion ((dynamic) → dynamic) is not 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>) is not 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) is not 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 356, 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] 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)
|
|
[warning] The final variable 'length' must be initialized (dart:html, line 17555, col 3)
|
|
[warning] The final variables '_get_contentWindow' and 'sandbox' must be initialized (dart:html, line 20113, col 3)
|
|
[warning] The final variables 'complete', 'currentSrc' and '2' more must be initialized (dart:html, line 20246, col 3)
|
|
[warning] The final variables '_get_valueAsDate', 'entries' and '6' more must be initialized (dart:html, line 20400, col 3)
|
|
[warning] The final variables 'form', 'labels' and '4' more must be initialized (dart:html, line 21436, col 3)
|
|
[warning] The final variables 'control' and 'form' must be initialized (dart:html, line 21547, col 3)
|
|
[warning] The final variable 'form' must be initialized (dart:html, line 21581, col 3)
|
|
[warning] The final variables 'import', 'sheet' and '1' more must be initialized (dart:html, line 21607, col 3)
|
|
[warning] The final variable 'areas' must be initialized (dart:html, line 21759, col 3)
|
|
[warning] The final variables 'audioDecodedByteCount', 'audioTracks' and '16' more must be initialized (dart:html, line 21985, col 3)
|
|
[warning] The final variable 'labels' must be initialized (dart:html, line 23501, col 3)
|
|
[warning] The final variables '_localName', '_namespaceUri' and '12' more must be initialized (dart:html, line 24939, col 3)
|
|
[warning] The final variables 'form', 'validationMessage' and '2' more must be initialized (dart:html, line 25820, col 3)
|
|
[warning] The final variables 'form' and 'index' must be initialized (dart:html, line 25955, col 3)
|
|
[warning] The final variables 'form', 'htmlFor' and '5' more must be initialized (dart:html, line 26009, col 3)
|
|
[warning] The final variables 'labels' and 'position' must be initialized (dart:html, line 27415, col 3)
|
|
[warning] The final variables 'form', 'labels' and '4' more must be initialized (dart:html, line 29186, col 3)
|
|
[warning] The final variable 'sheet' must be initialized (dart:html, line 31442, col 3)
|
|
[warning] The final variable 'cellIndex' must be initialized (dart:html, line 31662, col 3)
|
|
[warning] The final variables '_rows' and '_tBodies' must be initialized (dart:html, line 31773, col 3)
|
|
[warning] The final variables '_cells', 'rowIndex' and '1' more must be initialized (dart:html, line 31883, col 3)
|
|
[warning] The final variable '_rows' must be initialized (dart:html, line 31950, col 3)
|
|
[warning] The final variable 'content' must be initialized (dart:html, line 31993, col 3)
|
|
[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 151, col 22)
|
|
[warning] Unsound implicit cast from num to T (dart:math/rectangle.dart, line 152, col 23)
|
|
[warning] Unsound implicit cast from num to T (dart:math/rectangle.dart, line 275, 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)
|
|
[warning] The final variable 'clipPathUnits' must be initialized (dart:svg, line 597, col 3)
|
|
[warning] The final variables 'cx', 'cy' and '2' more must be initialized (dart:svg, line 689, col 3)
|
|
[warning] The final variables 'height', 'in1' and '6' more must be initialized (dart:svg, line 732, col 3)
|
|
[warning] The final variables 'height', 'in1' and '6' more must be initialized (dart:svg, line 820, col 3)
|
|
[warning] The final variables 'height', 'in1' and '4' more must be initialized (dart:svg, line 904, col 3)
|
|
[warning] The final variables 'height', 'in1' and '10' more must be initialized (dart:svg, line 952, col 3)
|
|
[warning] The final variables 'bias', 'divisor' and '15' more must be initialized (dart:svg, line 1057, col 3)
|
|
[warning] The final variables 'diffuseConstant', 'height' and '8' more must be initialized (dart:svg, line 1173, col 3)
|
|
[warning] The final variables 'height', 'in1' and '8' more must be initialized (dart:svg, line 1245, col 3)
|
|
[warning] The final variables 'azimuth' and 'elevation' must be initialized (dart:svg, line 1337, col 3)
|
|
[warning] The final variables 'height', 'result' and '3' more must be initialized (dart:svg, line 1375, col 3)
|
|
[warning] The final variables 'height', 'in1' and '6' more must be initialized (dart:svg, line 1547, col 3)
|
|
[warning] The final variables 'height', 'href' and '5' more must be initialized (dart:svg, line 1615, col 3)
|
|
[warning] The final variables 'height', 'result' and '3' more must be initialized (dart:svg, line 1677, col 3)
|
|
[warning] The final variable 'in1' must be initialized (dart:svg, line 1729, col 3)
|
|
[warning] The final variables 'height', 'in1' and '7' more must be initialized (dart:svg, line 1759, col 3)
|
|
[warning] The final variables 'dx', 'dy' and '6' more must be initialized (dart:svg, line 1836, col 3)
|
|
[warning] The final variables 'x', 'y' and '1' more must be initialized (dart:svg, line 1900, col 3)
|
|
[warning] The final variables 'height', 'in1' and '9' more must be initialized (dart:svg, line 1942, col 3)
|
|
[warning] The final variables 'limitingConeAngle', 'pointsAtX' and '6' more must be initialized (dart:svg, line 2020, col 3)
|
|
[warning] The final variables 'height', 'in1' and '4' more must be initialized (dart:svg, line 2082, col 3)
|
|
[warning] The final variables 'baseFrequencyX', 'baseFrequencyY' and '9' more must be initialized (dart:svg, line 2138, col 3)
|
|
[warning] The final variables 'filterUnits', 'height' and '5' more must be initialized (dart:svg, line 2238, col 3)
|
|
[warning] The final variables 'height', 'width' and '2' more must be initialized (dart:svg, line 2335, col 3)
|
|
[warning] The final variables 'farthestViewportElement', 'nearestViewportElement' and '4' more must be initialized (dart:svg, line 2425, col 3)
|
|
[warning] The final variables 'height', 'href' and '4' more must be initialized (dart:svg, line 2507, col 3)
|
|
[warning] The final variables 'x1', 'x2' and '2' more must be initialized (dart:svg, line 2736, col 3)
|
|
[warning] The final variables 'x1', 'x2' and '2' more must be initialized (dart:svg, line 2775, col 3)
|
|
[warning] The final variables 'markerHeight', 'markerUnits' and '7' more must be initialized (dart:svg, line 2814, col 3)
|
|
[warning] The final variables 'height', 'maskContentUnits' and '7' more must be initialized (dart:svg, line 2907, col 3)
|
|
[warning] The final variables 'animatedNormalizedPathSegList', 'animatedPathSegList' and '3' more must be initialized (dart:svg, line 3188, col 3)
|
|
[warning] The final variables 'height', 'href' and '11' more must be initialized (dart:svg, line 4017, col 3)
|
|
[warning] The final variables 'animatedPoints' and 'points' must be initialized (dart:svg, line 4182, col 3)
|
|
[warning] The final variables 'animatedPoints' and 'points' must be initialized (dart:svg, line 4213, col 3)
|
|
[warning] The final variables 'cx', 'cy' and '4' more must be initialized (dart:svg, line 4321, col 3)
|
|
[warning] The final variables 'height', 'rx' and '4' more must be initialized (dart:svg, line 4397, col 3)
|
|
[warning] The final variable 'href' must be initialized (dart:svg, line 4444, col 3)
|
|
[warning] The final variable 'gradientOffset' must be initialized (dart:svg, line 4506, col 3)
|
|
[warning] The final variable 'sheet' must be initialized (dart:svg, line 4634, col 3)
|
|
[warning] The final variables 'ownerSvgElement' and 'viewportElement' must be initialized (dart:svg, line 5072, col 3)
|
|
[warning] The final variables 'currentTranslate', 'currentView' and '12' more must be initialized (dart:svg, line 5386, col 3)
|
|
[warning] The final variables 'preserveAspectRatio' and 'viewBox' must be initialized (dart:svg, line 5605, col 3)
|
|
[warning] The final variables 'lengthAdjust' and 'textLength' must be initialized (dart:svg, line 5677, col 3)
|
|
[warning] The final variables 'href', 'method' and '2' more must be initialized (dart:svg, line 5775, col 3)
|
|
[warning] The final variables 'dx', 'dy' and '3' more must be initialized (dart:svg, line 5836, col 3)
|
|
[warning] The final variables 'height', 'href' and '3' more must be initialized (dart:svg, line 6126, col 3)
|
|
[warning] The final variables 'preserveAspectRatio', 'viewBox' and '1' more must be initialized (dart:svg, line 6171, col 3)
|
|
[warning] The final variables 'gradientTransform', 'gradientUnits' and '2' more must be initialized (dart:svg, line 6325, col 3)
|