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

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

Issue 2768693003: fix errors and warnings in DDC (Closed)
Patch Set: update test expectation Created 3 years, 9 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] Couldn't infer type parameter 'T'. 1 [error] Couldn't infer type parameter 'T'.
2 2
3 Tried to infer '_ControllerEventSinkWrapper<dynamic>' for 'T' which doesn't work : 3 Tried to infer '_ControllerEventSinkWrapper<dynamic>' for 'T' which doesn't work :
4 Parameter 'action' declared as '(T) → R' 4 Parameter 'action' declared as '(T) → R'
5 but argument is '(EventSink<T>) → dynamic'. 5 but argument is '(EventSink<T>) → dynamic'.
6 The type '_ControllerEventSinkWrapper<dynamic>' was inferred from: 6 The type '_ControllerEventSinkWrapper<dynamic>' was inferred from:
7 Parameter 'argument' declared as 'T' 7 Parameter 'argument' declared as 'T'
8 but argument is '_ControllerEventSinkWrapper<dynamic>'. 8 but argument is '_ControllerEventSinkWrapper<dynamic>'.
9 9
10 Consider passing explicit type argument(s) to the generic. 10 Consider passing explicit type argument(s) to the generic.
11 11
12 (dart:async/stream.dart, line 1321, col 16) 12 (dart:async/stream.dart, line 1321, col 16)
13 [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 1321, col 32) 13 [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 1321, col 32)
14 [error] Type parameter bound types must be instantiated. (dart:collection/queue. dart, line 97, col 32)
15 [error] Invalid override. The type of '_UnicodeSubsetEncoder.startChunkedConvers ion' ('(Sink<List<int>>) → StringConversionSink') isn't a subtype of 'ChunkedCon verter<String, List<int>, String, List<int>>.startChunkedConversion' ('(dynamic) → dynamic'). (dart:convert/ascii.dart, line 106, col 3) 14 [error] Invalid override. The type of '_UnicodeSubsetEncoder.startChunkedConvers ion' ('(Sink<List<int>>) → StringConversionSink') isn't a subtype of 'ChunkedCon verter<String, List<int>, String, List<int>>.startChunkedConversion' ('(dynamic) → dynamic'). (dart:convert/ascii.dart, line 106, col 3)
16 [error] Invalid override. The type of '_UnicodeSubsetEncoder.bind' ('(Stream<Str ing>) → Stream<List<int>>') isn't a subtype of 'ChunkedConverter<String, List<in t>, String, List<int>>.bind' ('(dynamic) → dynamic'). (dart:convert/ascii.dart, line 114, col 3) 15 [error] Invalid override. The type of '_UnicodeSubsetEncoder.bind' ('(Stream<Str ing>) → Stream<List<int>>') isn't a subtype of 'ChunkedConverter<String, List<in t>, String, List<int>>.bind' ('(dynamic) → dynamic'). (dart:convert/ascii.dart, line 114, col 3)
17 [error] Invalid override. The type of '_UnicodeSubsetDecoder.startChunkedConvers ion' ('(Sink<String>) → ByteConversionSink') isn't a subtype of 'ChunkedConverte r<List<int>, String, List<int>, String>.startChunkedConversion' ('(dynamic) → dy namic'). (dart:convert/ascii.dart, line 219, col 3) 16 [error] Invalid override. The type of '_UnicodeSubsetDecoder.startChunkedConvers ion' ('(Sink<String>) → ByteConversionSink') isn't a subtype of 'ChunkedConverte r<List<int>, String, List<int>, String>.startChunkedConversion' ('(dynamic) → dy namic'). (dart:convert/ascii.dart, line 219, col 3)
18 [error] Invalid override. The type of '_UnicodeSubsetDecoder.bind' ('(Stream<Lis t<int>>) → Stream<String>') isn't a subtype of 'ChunkedConverter<List<int>, Stri ng, List<int>, String>.bind' ('(dynamic) → dynamic'). (dart:convert/ascii.dart, line 222, col 3) 17 [error] Invalid override. The type of '_UnicodeSubsetDecoder.bind' ('(Stream<Lis t<int>>) → Stream<String>') isn't a subtype of 'ChunkedConverter<List<int>, Stri ng, List<int>, String>.bind' ('(dynamic) → dynamic'). (dart:convert/ascii.dart, line 222, col 3)
19 [error] Invalid override. The type of 'AsciiDecoder.startChunkedConversion' ('(S ink<String>) → ByteConversionSink') isn't a subtype of 'ChunkedConverter<List<in t>, String, List<int>, String>.startChunkedConversion' ('(dynamic) → dynamic'). (dart:convert/ascii.dart, line 235, col 3) 18 [error] Invalid override. The type of 'AsciiDecoder.startChunkedConversion' ('(S ink<String>) → ByteConversionSink') isn't a subtype of 'ChunkedConverter<List<in t>, String, List<int>, String>.startChunkedConversion' ('(dynamic) → dynamic'). (dart:convert/ascii.dart, line 235, col 3)
20 [error] Base class introduces an invalid override. The type of 'Converter.bind' ('(Stream<List<int>>) → Stream<String>') isn't a subtype of 'ChunkedConverter<Li st<int>, String, List<int>, String>.bind' ('(dynamic) → dynamic'). (dart:convert /base64.dart, line 207, col 21) 19 [error] Base class introduces an invalid override. The type of 'Converter.bind' ('(Stream<List<int>>) → Stream<String>') isn't a subtype of 'ChunkedConverter<Li st<int>, String, List<int>, String>.bind' ('(dynamic) → dynamic'). (dart:convert /base64.dart, line 207, col 21)
21 [error] Invalid override. The type of 'Base64Encoder.startChunkedConversion' ('( Sink<String>) → ByteConversionSink') isn't a subtype of 'ChunkedConverter<List<i nt>, String, List<int>, String>.startChunkedConversion' ('(dynamic) → dynamic'). (dart:convert/base64.dart, line 222, col 3) 20 [error] Invalid override. The type of 'Base64Encoder.startChunkedConversion' ('( Sink<String>) → ByteConversionSink') isn't a subtype of 'ChunkedConverter<List<i nt>, String, List<int>, String>.startChunkedConversion' ('(dynamic) → dynamic'). (dart:convert/base64.dart, line 222, col 3)
22 [error] Base class introduces an invalid override. The type of 'Converter.bind' ('(Stream<String>) → Stream<List<int>>') isn't a subtype of 'ChunkedConverter<St ring, List<int>, String, List<int>>.bind' ('(dynamic) → dynamic'). (dart:convert /base64.dart, line 479, col 21) 21 [error] Base class introduces an invalid override. The type of 'Converter.bind' ('(Stream<String>) → Stream<List<int>>') isn't a subtype of 'ChunkedConverter<St ring, List<int>, String, List<int>>.bind' ('(dynamic) → dynamic'). (dart:convert /base64.dart, line 479, col 21)
23 [error] Invalid override. The type of 'Base64Decoder.startChunkedConversion' ('( Sink<List<int>>) → StringConversionSink') isn't a subtype of 'ChunkedConverter<S tring, List<int>, String, List<int>>.startChunkedConversion' ('(dynamic) → dynam ic'). (dart:convert/base64.dart, line 493, col 3) 22 [error] Invalid override. The type of 'Base64Decoder.startChunkedConversion' ('( Sink<List<int>>) → StringConversionSink') isn't a subtype of 'ChunkedConverter<S tring, List<int>, String, List<int>>.startChunkedConversion' ('(dynamic) → dynam ic'). (dart:convert/base64.dart, line 493, col 3)
24 [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) 23 [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)
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 [warning] The final variable 'sheet' must be initialized. (dart:svg, line 4866, col 3) 142 [warning] The final variable 'sheet' must be initialized. (dart:svg, line 4866, col 3)
144 [warning] The final variables 'ownerSvgElement' and 'viewportElement' must be in itialized. (dart:svg, line 5354, col 3) 143 [warning] The final variables 'ownerSvgElement' and 'viewportElement' must be in itialized. (dart:svg, line 5354, col 3)
145 [warning] The final variables 'currentTranslate', 'currentView' and '12' more mu st be initialized. (dart:svg, line 5676, col 3) 144 [warning] The final variables 'currentTranslate', 'currentView' and '12' more mu st be initialized. (dart:svg, line 5676, col 3)
146 [warning] The final variables 'preserveAspectRatio' and 'viewBox' must be initia lized. (dart:svg, line 5899, col 3) 145 [warning] The final variables 'preserveAspectRatio' and 'viewBox' must be initia lized. (dart:svg, line 5899, col 3)
147 [warning] The final variables 'lengthAdjust' and 'textLength' must be initialize d. (dart:svg, line 5975, col 3) 146 [warning] The final variables 'lengthAdjust' and 'textLength' must be initialize d. (dart:svg, line 5975, col 3)
148 [warning] The final variables 'href', 'method' and '2' more must be initialized. (dart:svg, line 6076, col 3) 147 [warning] The final variables 'href', 'method' and '2' more must be initialized. (dart:svg, line 6076, col 3)
149 [warning] The final variables 'dx', 'dy' and '3' more must be initialized. (dart :svg, line 6138, col 3) 148 [warning] The final variables 'dx', 'dy' and '3' more must be initialized. (dart :svg, line 6138, col 3)
150 [warning] The final variables 'height', 'href' and '3' more must be initialized. (dart:svg, line 6437, col 3) 149 [warning] The final variables 'height', 'href' and '3' more must be initialized. (dart:svg, line 6437, col 3)
151 [warning] The final variables 'preserveAspectRatio', 'viewBox' and '1' more must be initialized. (dart:svg, line 6484, col 3) 150 [warning] The final variables 'preserveAspectRatio', 'viewBox' and '1' more must be initialized. (dart:svg, line 6484, col 3)
152 [warning] The final variables 'gradientTransform', 'gradientUnits' and '2' more must be initialized. (dart:svg, line 6642, col 3) 151 [warning] The final variables 'gradientTransform', 'gradientUnits' and '2' more must be initialized. (dart:svg, line 6642, col 3)
OLDNEW
« no previous file with comments | « pkg/dev_compiler/test/not_yet_strong_tests.dart ('k') | pkg/dev_compiler/web/stack_trace_mapper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698