| Index: tool/sdk_expected_errors.txt
|
| diff --git a/tool/sdk_expected_errors.txt b/tool/sdk_expected_errors.txt
|
| index 96eec9196c61d0e83a5fbdf40be5dfd6151ab708..337800890ccb1419fec5ba4a82b0a46fd9f62082 100644
|
| --- a/tool/sdk_expected_errors.txt
|
| +++ b/tool/sdk_expected_errors.txt
|
| @@ -34,6 +34,23 @@ warning: [DownCastComposite] min(a.y, b.y) (num) will need runtime check to cast
|
| warning: [DownCastComposite] max(a.y, b.y) - top (num) will need runtime check to cast to type T (dart:math/rectangle.dart, line 231, col 16)
|
| 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] result (List<dynamic>) will need runtime check to cast to type List<E> (dart:_internal/iterable.dart, line 310, col 12)
|
| +warning: [DownCastComposite] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable<S> (dart:_internal/iterable.dart, line 357, col 39)
|
| +warning: [DownCastComposite] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable<S> (dart:_internal/iterable.dart, line 378, col 17)
|
| +warning: [DownCastComposite] _f ((dynamic) → Iterable<dynamic>) will need runtime check to cast to type (S) → Iterable<T> (dart:_internal/iterable.dart, line 454, col 76)
|
| +warning: [DownCastComposite] _f(_iterator.current).iterator (Iterator<dynamic>) will need runtime check to cast to type Iterator<T> (dart:_internal/iterable.dart, line 481, col 29)
|
| +warning: [DownCastComposite] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable<T> (dart:_internal/iterable.dart, line 961, col 33)
|
| +warning: [DownCastComposite] f ((dynamic) → bool) will need runtime check to cast to type (T) → bool (dart:_internal/iterable.dart, line 961, col 43)
|
| +warning: [DownCastComposite] list (List<dynamic>) will need runtime check to cast to type Iterable<T> (dart:_internal/iterable.dart, line 978, col 35)
|
| +warning: [DownCastComposite] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable<T> (dart:_internal/iterable.dart, line 983, col 37)
|
| +warning: [DownCastComposite] test ((dynamic) → bool) will need runtime check to cast to type (T) → bool (dart:_internal/iterable.dart, line 983, col 47)
|
| +warning: [DownCastComposite] list (List<dynamic>) will need runtime check to cast to type Iterable<T> (dart:_internal/iterable.dart, line 988, col 35)
|
| +warning: [DownCastComposite] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable<T> (dart:_internal/iterable.dart, line 993, col 37)
|
| +warning: [DownCastComposite] test ((dynamic) → bool) will need runtime check to cast to type (T) → bool (dart:_internal/iterable.dart, line 993, col 47)
|
| +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: [DownCastImplicit] key (Object) will need runtime check to cast to type int (dart:_internal/list.dart, line 251, col 59)
|
| severe: [AnalyzerMessage] Classes cannot implement 'bool' (dart:_interceptors, line 29, col 45)
|
| warning: [DownCastComposite] JS('var', r'#.pop()', this) (dynamic) will need runtime check to cast to type E (dart:_interceptors/js_array.dart, line 80, col 12)
|
| warning: [DownCastComposite] JS('', '#[#]', this, i) (dynamic) will need runtime check to cast to type E (dart:_interceptors/js_array.dart, line 125, col 9)
|
| @@ -74,23 +91,19 @@ severe: [AnalyzerMessage] Classes cannot implement 'String' (dart:_interceptors/
|
| warning: [DownCastComposite] JS('JSExtendableArray', r'#.split(#)', this, pattern) (dynamic) will need runtime check to cast to type List<String> (dart:_interceptors/js_string.dart, line 86, col 14)
|
| warning: [DownCastComposite] JS('JSExtendableArray', r'#.split(#)', this, re) (dynamic) will need runtime check to cast to type List<String> (dart:_interceptors/js_string.dart, line 89, col 14)
|
| severe: [StaticTypeError] Type check failed: s += s (String) is not of type JSString (dart:_interceptors/js_string.dart, line 346, col 7)
|
| -warning: [DownCastComposite] result (List<dynamic>) will need runtime check to cast to type List<E> (dart:_internal/iterable.dart, line 310, col 12)
|
| -warning: [DownCastComposite] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable<S> (dart:_internal/iterable.dart, line 357, col 39)
|
| -warning: [DownCastComposite] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable<S> (dart:_internal/iterable.dart, line 378, col 17)
|
| -warning: [DownCastComposite] _f ((dynamic) → Iterable<dynamic>) will need runtime check to cast to type (S) → Iterable<T> (dart:_internal/iterable.dart, line 454, col 76)
|
| -warning: [DownCastComposite] _f(_iterator.current).iterator (Iterator<dynamic>) will need runtime check to cast to type Iterator<T> (dart:_internal/iterable.dart, line 481, col 29)
|
| -warning: [DownCastComposite] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable<T> (dart:_internal/iterable.dart, line 961, col 33)
|
| -warning: [DownCastComposite] f ((dynamic) → bool) will need runtime check to cast to type (T) → bool (dart:_internal/iterable.dart, line 961, col 43)
|
| -warning: [DownCastComposite] list (List<dynamic>) will need runtime check to cast to type Iterable<T> (dart:_internal/iterable.dart, line 978, col 35)
|
| -warning: [DownCastComposite] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable<T> (dart:_internal/iterable.dart, line 983, col 37)
|
| -warning: [DownCastComposite] test ((dynamic) → bool) will need runtime check to cast to type (T) → bool (dart:_internal/iterable.dart, line 983, col 47)
|
| -warning: [DownCastComposite] list (List<dynamic>) will need runtime check to cast to type Iterable<T> (dart:_internal/iterable.dart, line 988, col 35)
|
| -warning: [DownCastComposite] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable<T> (dart:_internal/iterable.dart, line 993, col 37)
|
| -warning: [DownCastComposite] test ((dynamic) → bool) will need runtime check to cast to type (T) → bool (dart:_internal/iterable.dart, line 993, col 47)
|
| -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: [DownCastImplicit] key (Object) will need runtime check to cast to type int (dart:_internal/list.dart, line 251, col 59)
|
| +warning: [DownCastImplicit] JS('num', r'parseInt(#, 16)', source) (num) will need runtime check to cast to type int (dart:_js_helper, line 87, col 18)
|
| +warning: [DownCastImplicit] JS('num', r'parseInt(#, 10)', source) (num) will need runtime check to cast to type int (dart:_js_helper, line 91, col 18)
|
| +warning: [DownCastImplicit] JS('num', r'parseInt(#, 10)', source) (num) will need runtime check to cast to type int (dart:_js_helper, line 103, col 18)
|
| +warning: [DownCastImplicit] JS('num', r'parseInt(#, #)', source, radix) (num) will need runtime check to cast to type int (dart:_js_helper, line 135, col 12)
|
| +warning: [DownCastImplicit] result (num) will need runtime check to cast to type double (dart:_js_helper, line 159, col 16)
|
| +warning: [DownCastImplicit] result (num) will need runtime check to cast to type double (dart:_js_helper, line 163, col 12)
|
| +warning: [DownCastImplicit] 0xd800 + ((((i - 0x10000) >> 10) & 0x3ff)) (num) will need runtime check to cast to type int (dart:_js_helper, line 250, col 15)
|
| +warning: [DownCastImplicit] 0xdc00 + (i & 0x3ff) (num) will need runtime check to cast to type int (dart:_js_helper, line 251, col 15)
|
| +warning: [DownCastComposite] charCodes (dynamic) will need runtime check to cast to type List<int> (dart:_js_helper, line 265, col 31)
|
| +warning: [DownCastComposite] JS('JSExtendableArray|Null', r'#.exec(#)', _nativeRegExp, checkString(string)) (dynamic) will need runtime check to cast to type List<String> (dart:_js_helper/regexp_helper.dart, line 108, col 22)
|
| +warning: [DownCastComposite] match (List<dynamic>) will need runtime check to cast to type List<String> (dart:_js_helper/regexp_helper.dart, line 140, col 43)
|
| +warning: [DownCastComposite] match (List<dynamic>) will need runtime check to cast to type List<String> (dart:_js_helper/regexp_helper.dart, line 152, col 43)
|
| +warning: [DownCastComposite] pattern.allMatches(receiver) (dynamic) will need runtime check to cast to type Iterable<Match> (dart:_js_helper/string_helper.dart, line 137, col 23)
|
| warning: [DownCastComposite] JS('var', '#.splice(#, 2)[1]', bucket, index) (dynamic) will need runtime check to cast to type V (dart:collection, line 179, col 12)
|
| warning: [DownCastComposite] key (dynamic) will need runtime check to cast to type K (dart:collection, line 193, col 14)
|
| warning: [DownCastComposite] _getTableEntry(table, key) (dynamic) will need runtime check to cast to type V (dart:collection, line 261, col 17)
|
| @@ -356,19 +369,6 @@ warning: [DownCastComposite] _encodeFullTable (List<dynamic>) will need runtime
|
| warning: [DownCastComposite] query.split("&").fold({}, (map, element) {int index = element.indexOf("="); if (index == -1) {if (element != "") {map[decodeQueryComponent(element, encoding: encoding)] = "";}} else if (index != 0) {var key = element.substring(0, index); var value = element.substring(index + 1); map[Uri.decodeQueryComponent(key, encoding: encoding)] = decodeQueryComponent(value, encoding: encoding);} return map;}) (dynamic) will need runtime check to cast to type Map<String, String> (dart:core/uri.dart, line 1869, col 12)
|
| warning: [DownCastComposite] bytes.map((byteString) {int byte = int.parse(byteString); if (byte < 0 || byte > 255) {error('each part must be in the range of `0..255`');} return byte;}).toList() (List<dynamic>) will need runtime check to cast to type List<int> (dart:core/uri.dart, line 1901, col 12)
|
| warning: [DownCastComposite] bytes (List<dynamic>) will need runtime check to cast to type List<int> (dart:core/uri.dart, line 2023, col 12)
|
| -warning: [DownCastImplicit] JS('num', r'parseInt(#, 16)', source) (num) will need runtime check to cast to type int (dart:_js_helper, line 87, col 18)
|
| -warning: [DownCastImplicit] JS('num', r'parseInt(#, 10)', source) (num) will need runtime check to cast to type int (dart:_js_helper, line 91, col 18)
|
| -warning: [DownCastImplicit] JS('num', r'parseInt(#, 10)', source) (num) will need runtime check to cast to type int (dart:_js_helper, line 103, col 18)
|
| -warning: [DownCastImplicit] JS('num', r'parseInt(#, #)', source, radix) (num) will need runtime check to cast to type int (dart:_js_helper, line 135, col 12)
|
| -warning: [DownCastImplicit] result (num) will need runtime check to cast to type double (dart:_js_helper, line 159, col 16)
|
| -warning: [DownCastImplicit] result (num) will need runtime check to cast to type double (dart:_js_helper, line 163, col 12)
|
| -warning: [DownCastImplicit] 0xd800 + ((((i - 0x10000) >> 10) & 0x3ff)) (num) will need runtime check to cast to type int (dart:_js_helper, line 250, col 15)
|
| -warning: [DownCastImplicit] 0xdc00 + (i & 0x3ff) (num) will need runtime check to cast to type int (dart:_js_helper, line 251, col 15)
|
| -warning: [DownCastComposite] charCodes (dynamic) will need runtime check to cast to type List<int> (dart:_js_helper, line 265, col 31)
|
| -warning: [DownCastComposite] JS('JSExtendableArray|Null', r'#.exec(#)', _nativeRegExp, checkString(string)) (dynamic) will need runtime check to cast to type List<String> (dart:_js_helper/regexp_helper.dart, line 108, col 22)
|
| -warning: [DownCastComposite] match (List<dynamic>) will need runtime check to cast to type List<String> (dart:_js_helper/regexp_helper.dart, line 140, col 43)
|
| -warning: [DownCastComposite] match (List<dynamic>) will need runtime check to cast to type List<String> (dart:_js_helper/regexp_helper.dart, line 152, col 43)
|
| -warning: [DownCastComposite] pattern.allMatches(receiver) (dynamic) will need runtime check to cast to type Iterable<Match> (dart:_js_helper/string_helper.dart, line 137, col 23)
|
| 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: [DownCastImplicit] list (Object) will need runtime check to cast to type List<dynamic> (dart:js, line 394, col 24)
|
|
|