OLD | NEW |
1 [error] Couldn't infer type parameter 'T'. | 1 [error] Couldn't infer type parameter 'T'. |
2 | 2 |
3 Inferred type '_ControllerEventSinkWrapper<dynamic>' does not work with constrai
nts: | 3 Tried to infer '_ControllerEventSinkWrapper<dynamic>' for 'T' which doesn't work
: |
4 Argument 'action' inferred as '(EventSink<T>) → dynamic' must be a '(T) → R'. | 4 Parameter 'action' declared as '(T) → R' |
| 5 but argument is '(EventSink<T>) → dynamic'. |
5 The type '_ControllerEventSinkWrapper<dynamic>' was inferred from: | 6 The type '_ControllerEventSinkWrapper<dynamic>' was inferred from: |
6 Argument 'argument' inferred as '_ControllerEventSinkWrapper<dynamic>' must be
a 'T'. | 7 Parameter 'argument' declared as 'T' |
| 8 but argument is '_ControllerEventSinkWrapper<dynamic>'. |
7 | 9 |
8 Consider passing explicit type argument(s) to the generic. | 10 Consider passing explicit type argument(s) to the generic. |
9 | 11 |
10 (dart:async/stream.dart, line 1321, col 16) | 12 (dart:async/stream.dart, line 1321, col 16) |
11 [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) |
12 [error] Type parameter bound types must be instantiated. (dart:collection/queue.
dart, line 97, col 32) | 14 [error] Type parameter bound types must be instantiated. (dart:collection/queue.
dart, line 97, col 32) |
13 [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) | 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.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) | 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 '_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) | 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.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) | 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) |
(...skipping 21 matching lines...) Expand all Loading... |
38 [error] Invalid override. The type of 'Utf8Decoder.startChunkedConversion' ('(Si
nk<String>) → ByteConversionSink') isn't a subtype of 'ChunkedConverter<List<int
>, String, List<int>, String>.startChunkedConversion' ('(dynamic) → dynamic'). (
dart:convert/utf.dart, line 357, col 3) | 40 [error] Invalid override. The type of 'Utf8Decoder.startChunkedConversion' ('(Si
nk<String>) → ByteConversionSink') isn't a subtype of 'ChunkedConverter<List<int
>, String, List<int>, String>.startChunkedConversion' ('(dynamic) → dynamic'). (
dart:convert/utf.dart, line 357, col 3) |
39 [error] Invalid override. The type of 'Utf8Decoder.bind' ('(Stream<List<int>>) →
Stream<String>') isn't a subtype of 'ChunkedConverter<List<int>, String, List<i
nt>, String>.bind' ('(dynamic) → dynamic'). (dart:convert/utf.dart, line 368, co
l 3) | 41 [error] Invalid override. The type of 'Utf8Decoder.bind' ('(Stream<List<int>>) →
Stream<String>') isn't a subtype of 'ChunkedConverter<List<int>, String, List<i
nt>, String>.bind' ('(dynamic) → dynamic'). (dart:convert/utf.dart, line 368, co
l 3) |
40 [error] Only redirecting factory constructors can be declared to be 'const'. (da
rt:core/bool.dart, line 41, col 9) | 42 [error] Only redirecting factory constructors can be declared to be 'const'. (da
rt:core/bool.dart, line 41, col 9) |
41 [error] Const constructors can't throw exceptions. (dart:core/bool.dart, line 42
, col 5) | 43 [error] Const constructors can't throw exceptions. (dart:core/bool.dart, line 42
, col 5) |
42 [error] Only redirecting factory constructors can be declared to be 'const'. (da
rt:core/int.dart, line 33, col 9) | 44 [error] Only redirecting factory constructors can be declared to be 'const'. (da
rt:core/int.dart, line 33, col 9) |
43 [error] Const constructors can't throw exceptions. (dart:core/int.dart, line 34,
col 5) | 45 [error] Const constructors can't throw exceptions. (dart:core/int.dart, line 34,
col 5) |
44 [error] Annotation must be either a const variable reference or const constructo
r invocation. (dart:core/stacktrace.dart, line 43, col 3) | 46 [error] Annotation must be either a const variable reference or const constructo
r invocation. (dart:core/stacktrace.dart, line 43, col 3) |
45 [error] Only redirecting factory constructors can be declared to be 'const'. (da
rt:core/string.dart, line 156, col 9) | 47 [error] Only redirecting factory constructors can be declared to be 'const'. (da
rt:core/string.dart, line 156, col 9) |
46 [error] Const constructors can't throw exceptions. (dart:core/string.dart, line
157, col 5) | 48 [error] Const constructors can't throw exceptions. (dart:core/string.dart, line
157, col 5) |
47 [error] Annotation must be either a const variable reference or const constructo
r invocation. (dart:developer, line 39, col 1) | 49 [error] Annotation must be either a const variable reference or const constructo
r invocation. (dart:developer, line 39, col 1) |
| 50 [error] The getter 'value' isn't defined for the class 'num'. (dart:html, line 4
0493, col 21) |
| 51 [error] A value of type 'Dimension' can't be assigned to a variable of type 'num
'. (dart:html, line 40493, col 44) |
| 52 [error] The getter 'value' isn't defined for the class 'num'. (dart:html, line 4
0513, col 20) |
| 53 [error] A value of type 'Dimension' can't be assigned to a variable of type 'num
'. (dart:html, line 40513, col 42) |
48 [error] Base class introduces an invalid override. The type of 'Converter.bind'
('(Stream<List<int>>) → Stream<List<int>>') isn't a subtype of 'ChunkedConverter
<List<int>, List<int>, List<int>, List<int>>.bind' ('(dynamic) → dynamic'). (dar
t:io/data_transformer.dart, line 295, col 19) | 54 [error] Base class introduces an invalid override. The type of 'Converter.bind'
('(Stream<List<int>>) → Stream<List<int>>') isn't a subtype of 'ChunkedConverter
<List<int>, List<int>, List<int>, List<int>>.bind' ('(dynamic) → dynamic'). (dar
t:io/data_transformer.dart, line 295, col 19) |
49 [error] Invalid override. The type of 'ZLibEncoder.startChunkedConversion' ('(Si
nk<List<int>>) → ByteConversionSink') isn't a subtype of 'ChunkedConverter<List<
int>, List<int>, List<int>, List<int>>.startChunkedConversion' ('(dynamic) → dyn
amic'). (dart:io/data_transformer.dart, line 388, col 3) | 55 [error] Invalid override. The type of 'ZLibEncoder.startChunkedConversion' ('(Si
nk<List<int>>) → ByteConversionSink') isn't a subtype of 'ChunkedConverter<List<
int>, List<int>, List<int>, List<int>>.startChunkedConversion' ('(dynamic) → dyn
amic'). (dart:io/data_transformer.dart, line 388, col 3) |
50 [error] The argument type '(RandomAccessFile) → Future<RandomAccessFile>' can't
be assigned to the parameter type '(RandomAccessFile) → FutureOr<File>'. (dart:i
o/file_impl.dart, line 202, col 30) | 56 [error] The argument type '(RandomAccessFile) → Future<RandomAccessFile>' can't
be assigned to the parameter type '(RandomAccessFile) → FutureOr<File>'. (dart:i
o/file_impl.dart, line 202, col 30) |
51 [error] The return type 'Future<Object>' isn't a 'FutureOr<File>', as defined by
the method ''. (dart:io/file_impl.dart, line 591, col 14) | 57 [error] The return type 'Future<Object>' isn't a 'FutureOr<File>', as defined by
the method ''. (dart:io/file_impl.dart, line 591, col 14) |
52 [error] Undefined name 'lineMode'. (dart:io/stdio.dart, line 57, col 10) | 58 [error] Undefined name 'lineMode'. (dart:io/stdio.dart, line 57, col 10) |
53 [error] The name 'echoMode=' is already defined. (dart:io/stdio.dart, line 122,
col 12) | 59 [error] The name 'echoMode=' is already defined. (dart:io/stdio.dart, line 122,
col 12) |
54 [error] The name 'lineMode=' is already defined. (dart:io/stdio.dart, line 143,
col 12) | 60 [error] The name 'lineMode=' is already defined. (dart:io/stdio.dart, line 143,
col 12) |
55 [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:io/stri
ng_transformer.dart, line 45, col 31) | 61 [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:io/stri
ng_transformer.dart, line 45, col 31) |
56 [error] Invalid override. The type of '_WindowsCodePageEncoder.startChunkedConve
rsion' ('(Sink<List<int>>) → StringConversionSink') isn't a subtype of 'ChunkedC
onverter<String, List<int>, String, List<int>>.startChunkedConversion' ('(dynami
c) → dynamic'). (dart:io/string_transformer.dart, line 60, col 3) | 62 [error] Invalid override. The type of '_WindowsCodePageEncoder.startChunkedConve
rsion' ('(Sink<List<int>>) → StringConversionSink') isn't a subtype of 'ChunkedC
onverter<String, List<int>, String, List<int>>.startChunkedConversion' ('(dynami
c) → dynamic'). (dart:io/string_transformer.dart, line 60, col 3) |
57 [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:io/stri
ng_transformer.dart, line 98, col 31) | 63 [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:io/stri
ng_transformer.dart, line 98, col 31) |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 [warning] The final variable 'sheet' must be initialized. (dart:svg, line 4866,
col 3) | 143 [warning] The final variable 'sheet' must be initialized. (dart:svg, line 4866,
col 3) |
138 [warning] The final variables 'ownerSvgElement' and 'viewportElement' must be in
itialized. (dart:svg, line 5354, col 3) | 144 [warning] The final variables 'ownerSvgElement' and 'viewportElement' must be in
itialized. (dart:svg, line 5354, col 3) |
139 [warning] The final variables 'currentTranslate', 'currentView' and '12' more mu
st be initialized. (dart:svg, line 5676, col 3) | 145 [warning] The final variables 'currentTranslate', 'currentView' and '12' more mu
st be initialized. (dart:svg, line 5676, col 3) |
140 [warning] The final variables 'preserveAspectRatio' and 'viewBox' must be initia
lized. (dart:svg, line 5899, col 3) | 146 [warning] The final variables 'preserveAspectRatio' and 'viewBox' must be initia
lized. (dart:svg, line 5899, col 3) |
141 [warning] The final variables 'lengthAdjust' and 'textLength' must be initialize
d. (dart:svg, line 5975, col 3) | 147 [warning] The final variables 'lengthAdjust' and 'textLength' must be initialize
d. (dart:svg, line 5975, col 3) |
142 [warning] The final variables 'href', 'method' and '2' more must be initialized.
(dart:svg, line 6076, col 3) | 148 [warning] The final variables 'href', 'method' and '2' more must be initialized.
(dart:svg, line 6076, col 3) |
143 [warning] The final variables 'dx', 'dy' and '3' more must be initialized. (dart
:svg, line 6138, col 3) | 149 [warning] The final variables 'dx', 'dy' and '3' more must be initialized. (dart
:svg, line 6138, col 3) |
144 [warning] The final variables 'height', 'href' and '3' more must be initialized.
(dart:svg, line 6437, col 3) | 150 [warning] The final variables 'height', 'href' and '3' more must be initialized.
(dart:svg, line 6437, col 3) |
145 [warning] The final variables 'preserveAspectRatio', 'viewBox' and '1' more must
be initialized. (dart:svg, line 6484, col 3) | 151 [warning] The final variables 'preserveAspectRatio', 'viewBox' and '1' more must
be initialized. (dart:svg, line 6484, col 3) |
146 [warning] The final variables 'gradientTransform', 'gradientUnits' and '2' more
must be initialized. (dart:svg, line 6642, col 3) | 152 [warning] The final variables 'gradientTransform', 'gradientUnits' and '2' more
must be initialized. (dart:svg, line 6642, col 3) |
OLD | NEW |