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

Side by Side Diff: pkg/dev_compiler/tool/sdk_expected_errors.txt

Issue 2386493003: Fix type errors in math.min() and math.max(). (Closed)
Patch Set: Created 4 years, 2 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] 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 590, col 25) 1 [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 590, col 25)
2 [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) 2 [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] Could not infer type parameter T, _ControllerEventSinkWrapper<dynamic> m ust be of type EventSink<T>. (dart:async/stream.dart, line 1346, col 16) 3 [error] Could not infer type parameter T, _ControllerEventSinkWrapper<dynamic> m ust be of type EventSink<T>. (dart:async/stream.dart, line 1346, col 16)
4 [error] The argument type '_ControllerEventSinkWrapper' cannot be assigned to th e parameter type 'EventSink<T>'. (dart:async/stream.dart, line 1346, col 53) 4 [error] The argument type '_ControllerEventSinkWrapper' cannot be assigned to th e parameter type 'EventSink<T>'. (dart:async/stream.dart, line 1346, col 53)
5 [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 Converter<S, T>.bind ((Stream<S>) → Stream<T>). (dart:conv ert/chunked_conversion.dart, line 14, col 3)
6 [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.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)
7 [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] 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)
8 [error] Invalid override. The type of FileList.[]= ((int, File) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, line 16868, 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 16868, 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 18903, 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 18903, 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 23817, 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 23817, col 3)
11 [error] Invalid override. The type of NodeList.[]= ((int, Node) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, line 25466, col 3) 11 [error] Invalid override. The type of NodeList.[]= ((int, Node) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, line 25466, col 3)
12 [error] Invalid override. The type of PluginArray.[]= ((int, Plugin) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, line 26970, col 3) 12 [error] Invalid override. The type of PluginArray.[]= ((int, Plugin) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, line 26970, col 3)
13 [error] Invalid override. The type of SourceBufferList.[]= ((int, SourceBuffer) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). ( dart:html, line 30208, col 3) 13 [error] Invalid override. The type of SourceBufferList.[]= ((int, SourceBuffer) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). ( dart:html, line 30208, col 3)
14 [error] Invalid override. The type of SpeechGrammarList.[]= ((int, SpeechGrammar ) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, line 30409, col 3) 14 [error] Invalid override. The type of SpeechGrammarList.[]= ((int, SpeechGrammar ) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, line 30409, col 3)
15 [error] Invalid override. The type of TextTrackList.[]= ((int, TextTrack) → void ) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:h tml, line 32568, col 3) 15 [error] Invalid override. The type of TextTrackList.[]= ((int, TextTrack) → void ) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:h tml, line 32568, col 3)
16 [error] Invalid override. The type of TouchList.[]= ((int, Touch) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, lin e 32903, col 3) 16 [error] Invalid override. The type of TouchList.[]= ((int, Touch) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, lin e 32903, col 3)
17 [error] Invalid override. The type of _CssRuleList.[]= ((int, CssRule) → void) i s not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html , line 37674, col 3) 17 [error] Invalid override. The type of _CssRuleList.[]= ((int, CssRule) → void) i s not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html , line 37674, col 3)
18 [error] Invalid override. The type of _GamepadList.[]= ((int, Gamepad) → void) i s not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html , line 37928, col 3) 18 [error] Invalid override. The type of _GamepadList.[]= ((int, Gamepad) → void) i s not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html , line 37928, col 3)
19 [error] Invalid override. The type of _NamedNodeMap.[]= ((int, Node) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, line 38135, col 3) 19 [error] Invalid override. The type of _NamedNodeMap.[]= ((int, Node) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, line 38135, col 3)
20 [error] Invalid override. The type of _SpeechRecognitionResultList.[]= ((int, Sp eechRecognitionResult) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, line 38351, col 3) 20 [error] Invalid override. The type of _SpeechRecognitionResultList.[]= ((int, Sp eechRecognitionResult) → void) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dart:html, line 38351, col 3)
21 [error] Invalid override. The type of _StyleSheetList.[]= ((int, StyleSheet) → v oid) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dar t:html, line 38415, col 3) 21 [error] Invalid override. The type of _StyleSheetList.[]= ((int, StyleSheet) → v oid) is not a subtype of JSMutableIndexable.[]= ((int, dynamic) → dynamic). (dar t:html, line 38415, col 3)
22 [error] Invalid override. The type of _EventStreamSubscription.asFuture (([dynam ic]) → Future<dynamic>) is not a subtype of StreamSubscription<T>.asFuture (<E>( [E]) → Future<E>). (dart:html, line 40152, col 3) 22 [error] Invalid override. The type of _EventStreamSubscription.asFuture (([dynam ic]) → Future<dynamic>) is not a subtype of StreamSubscription<T>.asFuture (<E>( [E]) → Future<E>). (dart:html, line 40152, col 3)
23 [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 ) 23 [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 )
24 [error] The return type 'double' is not a 'T', as defined by the method 'min'. ( dart:math, line 90, col 16)
25 [error] The return type 'double' is not a 'T', as defined by the method 'min'. ( dart:math, line 94, col 51)
26 [error] The return type 'double' is not a 'T', as defined by the method 'max'. ( dart:math, line 125, col 16)
27 [error] The return type 'double' is not a 'T', as defined by the method 'max'. ( dart:math, line 129, col 25)
28 [warning] Unsound implicit cast from dynamic to List<String> (dart:_debugger, li ne 39, col 45) 24 [warning] Unsound implicit cast from dynamic to List<String> (dart:_debugger, li ne 39, col 45)
29 [warning] Unsound implicit cast from dynamic to List<NameValuePair> (dart:_debug ger, line 750, col 43) 25 [warning] Unsound implicit cast from dynamic to List<NameValuePair> (dart:_debug ger, line 750, col 43)
30 [warning] Unsound implicit cast from dynamic to List<String> (dart:_isolate_help er, line 839, col 37) 26 [warning] Unsound implicit cast from dynamic to List<String> (dart:_isolate_help er, line 839, col 37)
31 [warning] Unsound implicit cast from dynamic to List<String> (dart:_isolate_help er, line 886, col 11) 27 [warning] Unsound implicit cast from dynamic to List<String> (dart:_isolate_help er, line 886, col 11)
32 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 117, col 12) 28 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 117, col 12)
33 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 159, col 17) 29 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 159, col 17)
34 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 167, col 17) 30 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 167, col 17)
35 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 198, col 27) 31 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 198, col 27)
36 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 239, col 27) 32 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 239, col 27)
37 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 252, col 27) 33 [warning] Unsound implicit cast from dynamic to E (dart:_interceptors/js_array.d art, line 252, col 27)
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 [warning] The final variable 'sheet' must be initialized (dart:svg, line 4634, c ol 3) 182 [warning] The final variable 'sheet' must be initialized (dart:svg, line 4634, c ol 3)
187 [warning] The final variables 'ownerSvgElement' and 'viewportElement' must be in itialized (dart:svg, line 5072, col 3) 183 [warning] The final variables 'ownerSvgElement' and 'viewportElement' must be in itialized (dart:svg, line 5072, col 3)
188 [warning] The final variables 'currentTranslate', 'currentView' and '12' more mu st be initialized (dart:svg, line 5386, col 3) 184 [warning] The final variables 'currentTranslate', 'currentView' and '12' more mu st be initialized (dart:svg, line 5386, col 3)
189 [warning] The final variables 'preserveAspectRatio' and 'viewBox' must be initia lized (dart:svg, line 5605, col 3) 185 [warning] The final variables 'preserveAspectRatio' and 'viewBox' must be initia lized (dart:svg, line 5605, col 3)
190 [warning] The final variables 'lengthAdjust' and 'textLength' must be initialize d (dart:svg, line 5677, col 3) 186 [warning] The final variables 'lengthAdjust' and 'textLength' must be initialize d (dart:svg, line 5677, col 3)
191 [warning] The final variables 'href', 'method' and '2' more must be initialized (dart:svg, line 5775, col 3) 187 [warning] The final variables 'href', 'method' and '2' more must be initialized (dart:svg, line 5775, col 3)
192 [warning] The final variables 'dx', 'dy' and '3' more must be initialized (dart: svg, line 5836, col 3) 188 [warning] The final variables 'dx', 'dy' and '3' more must be initialized (dart: svg, line 5836, col 3)
193 [warning] The final variables 'height', 'href' and '3' more must be initialized (dart:svg, line 6126, col 3) 189 [warning] The final variables 'height', 'href' and '3' more must be initialized (dart:svg, line 6126, col 3)
194 [warning] The final variables 'preserveAspectRatio', 'viewBox' and '1' more must be initialized (dart:svg, line 6171, col 3) 190 [warning] The final variables 'preserveAspectRatio', 'viewBox' and '1' more must be initialized (dart:svg, line 6171, col 3)
195 [warning] The final variables 'gradientTransform', 'gradientUnits' and '2' more must be initialized (dart:svg, line 6325, col 3) 191 [warning] The final variables 'gradientTransform', 'gradientUnits' and '2' more must be initialized (dart:svg, line 6325, col 3)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698