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

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

Issue 2540903003: restrict generic function type subtyping (Closed)
Patch Set: patch 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
« no previous file with comments | « pkg/analyzer/test/src/task/strong/inferred_type_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'; '_ControllerEventSinkWrapper<dynamic> ' must be of type 'EventSink<T>'. (dart:async/stream.dart, line 1346, col 16)
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 [error] The argument type '_ControllerEventSinkWrapper' can't be assigned to the parameter type 'EventSink<T>'. (dart:async/stream.dart, line 1346, col 53)
3 [error] A value of type '<R>(Zone, ZoneDelegate, Zone, () → R) → R' can't be ass igned to a parameter of type '(Zone, ZoneDelegate, Zone, () → dynamic) → dynamic '. (dart:async/zone.dart, line 1071, col 51)
4 [error] A value of type '<R,T>(Zone, ZoneDelegate, Zone, (T) → R, T) → R' can't be assigned to a parameter of type '(Zone, ZoneDelegate, Zone, (dynamic) → dynam ic, dynamic) → dynamic'. (dart:async/zone.dart, line 1073, col 56)
5 [error] A value of type '<R,T1,T2>(Zone, ZoneDelegate, Zone, (T1, T2) → R, T1, T 2) → R' can't be assigned to a parameter of type '(Zone, ZoneDelegate, Zone, (dy namic, dynamic) → dynamic, dynamic, dynamic) → dynamic'. (dart:async/zone.dart, line 1075, col 57)
6 [error] A value of type '<R>(Zone, ZoneDelegate, Zone, () → R) → () → R' can't b e assigned to a parameter of type '(Zone, ZoneDelegate, Zone, () → dynamic) → () → dynamic'. (dart:async/zone.dart, line 1078, col 23)
7 [error] A value of type '<R,T>(Zone, ZoneDelegate, Zone, (T) → R) → (T) → R' can 't be assigned to a parameter of type '(Zone, ZoneDelegate, Zone, (dynamic) → dy namic) → (dynamic) → dynamic'. (dart:async/zone.dart, line 1081, col 23)
8 [error] A value of type '<R,T1,T2>(Zone, ZoneDelegate, Zone, (T1, T2) → R) → (T1 , T2) → R' can't be assigned to a parameter of type '(Zone, ZoneDelegate, Zone, (dynamic, dynamic) → dynamic) → (dynamic, dynamic) → dynamic'. (dart:async/zone. dart, line 1084, col 23)
9 [error] A value of type '<R>(Zone, ZoneDelegate, Zone, dynamic, StackTrace) → R' can't be assigned to a parameter of type '(Zone, ZoneDelegate, Zone, dynamic, S tackTrace) → dynamic'. (dart:async/zone.dart, line 1100, col 23)
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) 10 [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) 11 [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) 12 [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) 13 [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) 14 [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) 15 [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) 16 [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) 17 [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) 18 [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) 19 [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) 104 [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) 105 [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) 106 [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) 107 [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) 108 [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) 109 [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) 110 [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) 111 [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) 112 [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) 113 [warning] The final variables 'gradientTransform', 'gradientUnits' and '2' more must be initialized. (dart:svg, line 6325, col 3)
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/task/strong/inferred_type_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698