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

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

Issue 2456803004: fixes #27586, prefer context type in generic inference (Closed)
Patch Set: more tweaks Created 4 years 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] Couldn't infer type parameter 'T'; '_ControllerEventSinkWrapper<dynamic> ' must be of type 'EventSink<T>'. (dart:async/stream.dart, line 1346, col 16) 1 [error] Couldn't infer type parameter 'T'.
2 [error] The argument type '_ControllerEventSinkWrapper' can't be assigned to the parameter type 'EventSink<T>'. (dart:async/stream.dart, line 1346, col 53) 2
3 A type could not be found that satisfies these:
4 Argument 'f' inferred as '(EventSink<T>) → dynamic' must be a '( T) → R'.
5 Argument 'arg' inferred as '_ControllerEventSinkWrapper<dynamic>' must be a 'T '.
6
7 Consider passing explicit type argument(s) to the generic.
8
9 (dart:async/stream.dart, line 1346, col 16)
10 [error] The argument type 'ZoneUnaryCallback(EventSink<T>) → dynamic' can't be a ssigned to the parameter type '(_ControllerEventSinkWrapper<dynamic>) → dynamic' . (dart:async/stream.dart, line 1346, col 32)
3 [error] Invalid override. The type of 'ChunkedConverter.bind' ('(dynamic) → dyna mic') isn't a subtype of 'Converter<S, T>.bind' ('(Stream<S>) → Stream<T>'). (da rt:convert/chunked_conversion.dart, line 14, col 3) 11 [error] Invalid override. The type of 'ChunkedConverter.bind' ('(dynamic) → dyna mic') isn't a subtype of 'Converter<S, T>.bind' ('(Stream<S>) → Stream<T>'). (da rt:convert/chunked_conversion.dart, line 14, col 3)
4 [error] Invalid override. The type of 'ChunkedConverter.bind' ('(dynamic) → dyna mic') isn't a subtype of 'StreamTransformer<S, T>.bind' ('(Stream<S>) → Stream<T >'). (dart:convert/chunked_conversion.dart, line 14, col 3) 12 [error] Invalid override. The type of 'ChunkedConverter.bind' ('(dynamic) → dyna mic') isn't a subtype of 'StreamTransformer<S, T>.bind' ('(Stream<S>) → Stream<T >'). (dart:convert/chunked_conversion.dart, line 14, col 3)
5 [error] Invalid override. The type of 'ChunkedConverter.startChunkedConversion' ('(dynamic) → dynamic') isn't a subtype of 'Converter<S, T>.startChunkedConversi on' ('(Sink<T>) → Sink<S>'). (dart:convert/chunked_conversion.dart, line 15, col 3) 13 [error] Invalid override. The type of 'ChunkedConverter.startChunkedConversion' ('(dynamic) → dynamic') isn't a subtype of 'Converter<S, T>.startChunkedConversi on' ('(Sink<T>) → Sink<S>'). (dart:convert/chunked_conversion.dart, line 15, col 3)
6 [error] Only redirecting factory constructors can be declared to be 'const'. (da rt:core/bool.dart, line 41, col 9) 14 [error] Only redirecting factory constructors can be declared to be 'const'. (da rt:core/bool.dart, line 41, col 9)
7 [error] Const constructors can't throw exceptions. (dart:core/bool.dart, line 42 , col 5) 15 [error] Const constructors can't throw exceptions. (dart:core/bool.dart, line 42 , col 5)
8 [error] Only redirecting factory constructors can be declared to be 'const'. (da rt:core/int.dart, line 33, col 9) 16 [error] Only redirecting factory constructors can be declared to be 'const'. (da rt:core/int.dart, line 33, col 9)
9 [error] Const constructors can't throw exceptions. (dart:core/int.dart, line 34, col 5) 17 [error] Const constructors can't throw exceptions. (dart:core/int.dart, line 34, col 5)
10 [error] Only redirecting factory constructors can be declared to be 'const'. (da rt:core/string.dart, line 156, col 9) 18 [error] Only redirecting factory constructors can be declared to be 'const'. (da rt:core/string.dart, line 156, col 9)
11 [error] Const constructors can't throw exceptions. (dart:core/string.dart, line 157, col 5) 19 [error] Const constructors can't throw exceptions. (dart:core/string.dart, line 157, col 5)
12 [error] Invalid override. The type of '_EventStreamSubscription.asFuture' ('([dy namic]) → Future<dynamic>') isn't a subtype of 'StreamSubscription<T>.asFuture' ('<E>([E]) → Future<E>'). (dart:html, line 40152, col 3) 20 [error] Invalid override. The type of '_EventStreamSubscription.asFuture' ('([dy namic]) → Future<dynamic>') isn't a subtype of 'StreamSubscription<T>.asFuture' ('<E>([E]) → Future<E>'). (dart:html, line 40152, col 3)
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 [warning] The final variable 'sheet' must be initialized. (dart:svg, line 4634, col 3) 105 [warning] The final variable 'sheet' must be initialized. (dart:svg, line 4634, col 3)
98 [warning] The final variables 'ownerSvgElement' and 'viewportElement' must be in itialized. (dart:svg, line 5072, col 3) 106 [warning] The final variables 'ownerSvgElement' and 'viewportElement' must be in itialized. (dart:svg, line 5072, col 3)
99 [warning] The final variables 'currentTranslate', 'currentView' and '12' more mu st be initialized. (dart:svg, line 5386, col 3) 107 [warning] The final variables 'currentTranslate', 'currentView' and '12' more mu st be initialized. (dart:svg, line 5386, col 3)
100 [warning] The final variables 'preserveAspectRatio' and 'viewBox' must be initia lized. (dart:svg, line 5605, col 3) 108 [warning] The final variables 'preserveAspectRatio' and 'viewBox' must be initia lized. (dart:svg, line 5605, col 3)
101 [warning] The final variables 'lengthAdjust' and 'textLength' must be initialize d. (dart:svg, line 5677, col 3) 109 [warning] The final variables 'lengthAdjust' and 'textLength' must be initialize d. (dart:svg, line 5677, col 3)
102 [warning] The final variables 'href', 'method' and '2' more must be initialized. (dart:svg, line 5775, col 3) 110 [warning] The final variables 'href', 'method' and '2' more must be initialized. (dart:svg, line 5775, col 3)
103 [warning] The final variables 'dx', 'dy' and '3' more must be initialized. (dart :svg, line 5836, col 3) 111 [warning] The final variables 'dx', 'dy' and '3' more must be initialized. (dart :svg, line 5836, col 3)
104 [warning] The final variables 'height', 'href' and '3' more must be initialized. (dart:svg, line 6126, col 3) 112 [warning] The final variables 'height', 'href' and '3' more must be initialized. (dart:svg, line 6126, col 3)
105 [warning] The final variables 'preserveAspectRatio', 'viewBox' and '1' more must be initialized. (dart:svg, line 6171, col 3) 113 [warning] The final variables 'preserveAspectRatio', 'viewBox' and '1' more must be initialized. (dart:svg, line 6171, col 3)
106 [warning] The final variables 'gradientTransform', 'gradientUnits' and '2' more must be initialized. (dart:svg, line 6325, col 3) 114 [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