Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: tool/sdk_expected_errors.txt

Issue 2026133002: Throw TypeError instead of CastError for type coercions. (Closed) Base URL: https://github.com/dart-lang/dev_compiler@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [error] The argument type 'InternalMap' cannot be assigned to the parameter type 'Map'. (dart:_isolate_helper/isolate_serialization.dart, line 47, col 47) 1 [error] The argument type 'InternalMap' cannot be assigned to the parameter type 'Map'. (dart:_isolate_helper/isolate_serialization.dart, line 47, col 47)
2 [error] Base class introduces an invalid override. The type of JSArray.[]= ((int , E) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynami c). (dart:_interceptors/js_array.dart, line 586, col 25) 2 [error] Base class introduces an invalid override. The type of JSArray.[]= ((int , E) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynami c). (dart:_interceptors/js_array.dart, line 586, col 25)
3 [error] Invalid override. The type of NativeTypedArrayOfDouble.[]= ((int, num) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (d art:_native_typed_data, line 793, col 3) 3 [error] Invalid override. The type of NativeTypedArrayOfDouble.[]= ((int, num) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (d art:_native_typed_data, line 793, col 3)
4 [error] Invalid override. The type of ChunkedConverter.bind ((dynamic) → dynamic ) is not a subtype of Converter<S, T>.bind ((Stream<S>) → Stream<T>). (dart:conv ert/chunked_conversion.dart, line 14, col 3) 4 [error] Invalid override. The type of ChunkedConverter.bind ((dynamic) → dynamic ) is not a subtype of Converter<S, T>.bind ((Stream<S>) → Stream<T>). (dart:conv ert/chunked_conversion.dart, line 14, col 3)
5 [error] Invalid override. The type of ChunkedConverter.bind ((dynamic) → dynamic ) is not a subtype of StreamTransformer<S, T>.bind ((Stream<S>) → Stream<T>). (d art:convert/chunked_conversion.dart, line 14, col 3) 5 [error] Invalid override. The type of ChunkedConverter.bind ((dynamic) → dynamic ) is not a subtype of StreamTransformer<S, T>.bind ((Stream<S>) → Stream<T>). (d art:convert/chunked_conversion.dart, line 14, col 3)
6 [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) 6 [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)
7 [error] Annotation can be only constant variable or constant constructor invocat ion (dart:core/stacktrace.dart, line 43, col 3) 7 [error] Annotation can be only constant variable or constant constructor invocat ion (dart:core/stacktrace.dart, line 43, col 3)
8 [error] Invalid override. The type of FileList.[]= ((int, File) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, line 16869, col 3) 8 [error] Invalid override. The type of FileList.[]= ((int, File) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, line 16869, col 3)
9 [error] Invalid override. The type of HtmlCollection.[]= ((int, Node) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, line 18904, col 3) 9 [error] Invalid override. The type of HtmlCollection.[]= ((int, Node) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, line 18904, col 3)
10 [error] Invalid override. The type of MimeTypeArray.[]= ((int, MimeType) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:ht ml, line 23818, col 3) 10 [error] Invalid override. The type of MimeTypeArray.[]= ((int, MimeType) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:ht ml, line 23818, col 3)
(...skipping 30 matching lines...) Expand all
41 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 239, col 27) 41 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 239, col 27)
42 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 252, col 27) 42 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 252, col 27)
43 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 264, col 27) 43 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 264, col 27)
44 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 277, col 27) 44 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 277, col 27)
45 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 295, col 16) 45 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 295, col 16)
46 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 300, col 17) 46 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 300, col 17)
47 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 443, col 27) 47 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 443, col 27)
48 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 455, col 27) 48 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 455, col 27)
49 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 560, col 12) 49 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 560, col 12)
50 [warning] Unsound implicit cast from dynamic to JSArray<String> (dart:_js_helper , line 80, col 37) 50 [warning] Unsound implicit cast from dynamic to JSArray<String> (dart:_js_helper , line 80, col 37)
51 [warning] Unsound implicit cast from dynamic to E (dart:_js_helper, line 852, co l 16) 51 [warning] Unsound implicit cast from dynamic to E (dart:_js_helper, line 879, co l 16)
52 [warning] Unsound implicit cast from dynamic to List<Type> (dart:_js_mirrors, li ne 133, col 31) 52 [warning] Unsound implicit cast from dynamic to List<Type> (dart:_js_mirrors, li ne 133, col 31)
53 [warning] Unsound implicit cast from dynamic to List<String> (dart:_interceptors /js_string.dart, line 92, col 14) 53 [warning] Unsound implicit cast from dynamic to List<String> (dart:_interceptors /js_string.dart, line 92, col 14)
54 [warning] Unsound implicit cast from dynamic to List<String> (dart:_interceptors /js_string.dart, line 95, col 14) 54 [warning] Unsound implicit cast from dynamic to List<String> (dart:_interceptors /js_string.dart, line 95, col 14)
55 [warning] Unsound implicit cast from dynamic to LinkedHashMapCell<K, V> (dart:_j s_helper/linked_hash_map.dart, line 119, col 40) 55 [warning] Unsound implicit cast from dynamic to LinkedHashMapCell<K, V> (dart:_j s_helper/linked_hash_map.dart, line 119, col 40)
56 [warning] Unsound implicit cast from dynamic to LinkedHashMapCell<K, V> (dart:_j s_helper/linked_hash_map.dart, line 148, col 44) 56 [warning] Unsound implicit cast from dynamic to LinkedHashMapCell<K, V> (dart:_j s_helper/linked_hash_map.dart, line 148, col 44)
57 [warning] Unsound implicit cast from dynamic to LinkedHashMapCell<K, V> (dart:_j s_helper/linked_hash_map.dart, line 183, col 9) 57 [warning] Unsound implicit cast from dynamic to LinkedHashMapCell<K, V> (dart:_j s_helper/linked_hash_map.dart, line 183, col 9)
58 [warning] Unsound implicit cast from dynamic to LinkedHashMapCell<K, V> (dart:_j s_helper/linked_hash_map.dart, line 299, col 42) 58 [warning] Unsound implicit cast from dynamic to LinkedHashMapCell<K, V> (dart:_j s_helper/linked_hash_map.dart, line 299, col 42)
59 [warning] Unsound implicit cast from dynamic to LinkedHashMapCell<K, V> (dart:_j s_helper/linked_hash_map.dart, line 308, col 12) 59 [warning] Unsound implicit cast from dynamic to LinkedHashMapCell<K, V> (dart:_j s_helper/linked_hash_map.dart, line 308, col 12)
60 [warning] Unsound implicit cast from dynamic to List<LinkedHashMapCell<K, V>> (d art:_js_helper/linked_hash_map.dart, line 312, col 12) 60 [warning] Unsound implicit cast from dynamic to List<LinkedHashMapCell<K, V>> (d art:_js_helper/linked_hash_map.dart, line 312, col 12)
61 [warning] Unsound implicit cast from dynamic to LinkedHashMapCell<K, V> (dart:_j s_helper/linked_hash_map.dart, line 346, col 12) 61 [warning] Unsound implicit cast from dynamic to LinkedHashMapCell<K, V> (dart:_j s_helper/linked_hash_map.dart, line 346, col 12)
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 [warning] The final variable 'sheet' must be initialized (dart:svg, line 4634, c ol 3) 193 [warning] The final variable 'sheet' must be initialized (dart:svg, line 4634, c ol 3)
194 [warning] The final variables 'ownerSvgElement' and 'viewportElement' must be in itialized (dart:svg, line 5072, col 3) 194 [warning] The final variables 'ownerSvgElement' and 'viewportElement' must be in itialized (dart:svg, line 5072, col 3)
195 [warning] The final variables 'currentTranslate', 'currentView' and '12' more mu st be initialized (dart:svg, line 5386, col 3) 195 [warning] The final variables 'currentTranslate', 'currentView' and '12' more mu st be initialized (dart:svg, line 5386, col 3)
196 [warning] The final variables 'preserveAspectRatio' and 'viewBox' must be initia lized (dart:svg, line 5605, col 3) 196 [warning] The final variables 'preserveAspectRatio' and 'viewBox' must be initia lized (dart:svg, line 5605, col 3)
197 [warning] The final variables 'lengthAdjust' and 'textLength' must be initialize d (dart:svg, line 5677, col 3) 197 [warning] The final variables 'lengthAdjust' and 'textLength' must be initialize d (dart:svg, line 5677, col 3)
198 [warning] The final variables 'href', 'method' and '2' more must be initialized (dart:svg, line 5775, col 3) 198 [warning] The final variables 'href', 'method' and '2' more must be initialized (dart:svg, line 5775, col 3)
199 [warning] The final variables 'dx', 'dy' and '3' more must be initialized (dart: svg, line 5836, col 3) 199 [warning] The final variables 'dx', 'dy' and '3' more must be initialized (dart: svg, line 5836, col 3)
200 [warning] The final variables 'height', 'href' and '3' more must be initialized (dart:svg, line 6126, col 3) 200 [warning] The final variables 'height', 'href' and '3' more must be initialized (dart:svg, line 6126, col 3)
201 [warning] The final variables 'preserveAspectRatio', 'viewBox' and '1' more must be initialized (dart:svg, line 6171, col 3) 201 [warning] The final variables 'preserveAspectRatio', 'viewBox' and '1' more must be initialized (dart:svg, line 6171, col 3)
202 [warning] The final variables 'gradientTransform', 'gradientUnits' and '2' more must be initialized (dart:svg, line 6325, col 3) 202 [warning] The final variables 'gradientTransform', 'gradientUnits' and '2' more must be initialized (dart:svg, line 6325, col 3)
OLDNEW
« tool/input_sdk/private/js_helper.dart ('K') | « tool/input_sdk/private/js_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698