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

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

Issue 2830503002: Run formatter on dev_compiler. (Closed)
Patch Set: Run formatter on dev_compiler. Created 3 years, 8 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
« no previous file with comments | « pkg/dev_compiler/tool/input_sdk/private/native_typed_data.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] A value of type 'Future<Null>' can't be assigned to a variable of type ' _Future'. (dart:async/future.dart, line 138, col 38) 1 [error] A value of type 'Future<Null>' can't be assigned to a variable of type ' _Future'. (dart:async/future.dart, line 138, col 38)
2 [error] Couldn't infer type parameter 'T'. 2 [error] Couldn't infer type parameter 'T'.
3 3
4 Tried to infer '_ControllerEventSinkWrapper<dynamic>' for 'T' which doesn't work : 4 Tried to infer '_ControllerEventSinkWrapper<dynamic>' for 'T' which doesn't work :
5 Parameter 'action' declared as '(T) → R' 5 Parameter 'action' declared as '(T) → R'
6 but argument is '(EventSink<T>) → dynamic'. 6 but argument is '(EventSink<T>) → dynamic'.
7 The type '_ControllerEventSinkWrapper<dynamic>' was inferred from: 7 The type '_ControllerEventSinkWrapper<dynamic>' was inferred from:
8 Parameter 'argument' declared as 'T' 8 Parameter 'argument' declared as 'T'
9 but argument is '_ControllerEventSinkWrapper<dynamic>'. 9 but argument is '_ControllerEventSinkWrapper<dynamic>'.
10 10
(...skipping 30 matching lines...) Expand all
41 [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) 41 [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)
42 [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) 42 [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)
43 [error] Only redirecting factory constructors can be declared to be 'const'. (da rt:core/bool.dart, line 41, col 9) 43 [error] Only redirecting factory constructors can be declared to be 'const'. (da rt:core/bool.dart, line 41, col 9)
44 [error] Const constructors can't throw exceptions. (dart:core/bool.dart, line 42 , col 5) 44 [error] Const constructors can't throw exceptions. (dart:core/bool.dart, line 42 , col 5)
45 [error] Only redirecting factory constructors can be declared to be 'const'. (da rt:core/int.dart, line 33, col 9) 45 [error] Only redirecting factory constructors can be declared to be 'const'. (da rt:core/int.dart, line 33, col 9)
46 [error] Const constructors can't throw exceptions. (dart:core/int.dart, line 34, col 5) 46 [error] Const constructors can't throw exceptions. (dart:core/int.dart, line 34, col 5)
47 [error] Annotation must be either a const variable reference or const constructo r invocation. (dart:core/stacktrace.dart, line 43, col 3) 47 [error] Annotation must be either a const variable reference or const constructo r invocation. (dart:core/stacktrace.dart, line 43, col 3)
48 [error] Only redirecting factory constructors can be declared to be 'const'. (da rt:core/string.dart, line 156, col 9) 48 [error] Only redirecting factory constructors can be declared to be 'const'. (da rt:core/string.dart, line 156, col 9)
49 [error] Const constructors can't throw exceptions. (dart:core/string.dart, line 157, col 5) 49 [error] Const constructors can't throw exceptions. (dart:core/string.dart, line 157, col 5)
50 [error] Annotation must be either a const variable reference or const constructo r invocation. (dart:developer, line 39, col 1) 50 [error] Annotation must be either a const variable reference or const constructo r invocation. (dart:developer, line 39, col 1)
51 [error] The getter 'value' isn't defined for the class 'num'. (dart:html, line 4 0493, col 21) 51 [error] The getter 'value' isn't defined for the class 'num'. (dart:html, line 4 0486, col 21)
52 [error] A value of type 'Dimension' can't be assigned to a variable of type 'num '. (dart:html, line 40493, col 44) 52 [error] A value of type 'Dimension' can't be assigned to a variable of type 'num '. (dart:html, line 40486, col 44)
53 [error] The getter 'value' isn't defined for the class 'num'. (dart:html, line 4 0513, col 20) 53 [error] The getter 'value' isn't defined for the class 'num'. (dart:html, line 4 0506, col 20)
54 [error] A value of type 'Dimension' can't be assigned to a variable of type 'num '. (dart:html, line 40513, col 42) 54 [error] A value of type 'Dimension' can't be assigned to a variable of type 'num '. (dart:html, line 40506, col 42)
55 [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) 55 [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)
56 [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) 56 [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)
57 [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) 57 [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)
58 [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) 58 [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)
59 [error] Undefined name 'lineMode'. (dart:io/stdio.dart, line 57, col 10) 59 [error] Undefined name 'lineMode'. (dart:io/stdio.dart, line 57, col 10)
60 [error] The name 'echoMode=' is already defined. (dart:io/stdio.dart, line 122, col 12) 60 [error] The name 'echoMode=' is already defined. (dart:io/stdio.dart, line 122, col 12)
61 [error] The name 'lineMode=' is already defined. (dart:io/stdio.dart, line 143, col 12) 61 [error] The name 'lineMode=' is already defined. (dart:io/stdio.dart, line 143, col 12)
62 [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) 62 [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)
63 [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) 63 [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)
64 [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) 64 [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 12 matching lines...) Expand all
77 [warning] The final variable 'length' must be initialized. (dart:html, line 1789 8, col 3) 77 [warning] The final variable 'length' must be initialized. (dart:html, line 1789 8, col 3)
78 [warning] The final variables '_get_contentWindow' and 'sandbox' must be initial ized. (dart:html, line 20564, col 3) 78 [warning] The final variables '_get_contentWindow' and 'sandbox' must be initial ized. (dart:html, line 20564, col 3)
79 [warning] The final variables 'complete', 'currentSrc' and '2' more must be init ialized. (dart:html, line 20703, col 3) 79 [warning] The final variables 'complete', 'currentSrc' and '2' more must be init ialized. (dart:html, line 20703, col 3)
80 [warning] The final variables '_get_valueAsDate', 'entries' and '6' more must be initialized. (dart:html, line 20860, col 3) 80 [warning] The final variables '_get_valueAsDate', 'entries' and '6' more must be initialized. (dart:html, line 20860, col 3)
81 [warning] The final variables 'form', 'labels' and '4' more must be initialized. (dart:html, line 21927, col 3) 81 [warning] The final variables 'form', 'labels' and '4' more must be initialized. (dart:html, line 21927, col 3)
82 [warning] The final variables 'control' and 'form' must be initialized. (dart:ht ml, line 22042, col 3) 82 [warning] The final variables 'control' and 'form' must be initialized. (dart:ht ml, line 22042, col 3)
83 [warning] The final variable 'form' must be initialized. (dart:html, line 22077, col 3) 83 [warning] The final variable 'form' must be initialized. (dart:html, line 22077, col 3)
84 [warning] The final variables 'import', 'sheet' and '1' more must be initialized . (dart:html, line 22104, col 3) 84 [warning] The final variables 'import', 'sheet' and '1' more must be initialized . (dart:html, line 22104, col 3)
85 [warning] The final variable 'areas' must be initialized. (dart:html, line 22256 , col 3) 85 [warning] The final variable 'areas' must be initialized. (dart:html, line 22256 , col 3)
86 [warning] The final variables 'audioDecodedByteCount', 'audioTracks' and '16' mo re must be initialized. (dart:html, line 22492, col 3) 86 [warning] The final variables 'audioDecodedByteCount', 'audioTracks' and '16' mo re must be initialized. (dart:html, line 22492, col 3)
87 [warning] The final variable 'labels' must be initialized. (dart:html, line 2408 9, col 3) 87 [warning] The final variable 'labels' must be initialized. (dart:html, line 2408 8, col 3)
88 [warning] The final variables '_localName', '_namespaceUri' and '12' more must b e initialized. (dart:html, line 25631, col 3) 88 [warning] The final variables '_localName', '_namespaceUri' and '12' more must b e initialized. (dart:html, line 25630, col 3)
89 [warning] The final variables 'form', 'validationMessage' and '2' more must be i nitialized. (dart:html, line 26532, col 3) 89 [warning] The final variables 'form', 'validationMessage' and '2' more must be i nitialized. (dart:html, line 26531, col 3)
90 [warning] The final variables 'form' and 'index' must be initialized. (dart:html , line 26678, col 3) 90 [warning] The final variables 'form' and 'index' must be initialized. (dart:html , line 26677, col 3)
91 [warning] The final variables 'form', 'htmlFor' and '5' more must be initialized . (dart:html, line 26732, col 3) 91 [warning] The final variables 'form', 'htmlFor' and '5' more must be initialized . (dart:html, line 26731, col 3)
92 [warning] The final variables 'labels' and 'position' must be initialized. (dart :html, line 28207, col 3) 92 [warning] The final variables 'labels' and 'position' must be initialized. (dart :html, line 28205, col 3)
93 [warning] The final variables 'form', 'labels' and '4' more must be initialized. (dart:html, line 30128, col 3) 93 [warning] The final variables 'form', 'labels' and '4' more must be initialized. (dart:html, line 30124, col 3)
94 [warning] The final variable 'sheet' must be initialized. (dart:html, line 32489 , col 3) 94 [warning] The final variable 'sheet' must be initialized. (dart:html, line 32485 , col 3)
95 [warning] The final variable 'cellIndex' must be initialized. (dart:html, line 3 2719, col 3) 95 [warning] The final variable 'cellIndex' must be initialized. (dart:html, line 3 2715, col 3)
96 [warning] The final variables '_rows' and '_tBodies' must be initialized. (dart: html, line 32830, col 3) 96 [warning] The final variables '_rows' and '_tBodies' must be initialized. (dart: html, line 32826, col 3)
97 [warning] The final variables '_cells', 'rowIndex' and '1' more must be initiali zed. (dart:html, line 32943, col 3) 97 [warning] The final variables '_cells', 'rowIndex' and '1' more must be initiali zed. (dart:html, line 32939, col 3)
98 [warning] The final variable '_rows' must be initialized. (dart:html, line 33012 , col 3) 98 [warning] The final variable '_rows' must be initialized. (dart:html, line 33008 , col 3)
99 [warning] The final variable 'content' must be initialized. (dart:html, line 330 56, col 3) 99 [warning] The final variable 'content' must be initialized. (dart:html, line 330 52, col 3)
100 [warning] The final variables 'form', 'labels' and '5' more must be initialized. (dart:html, line 33132, col 3) 100 [warning] The final variables 'form', 'labels' and '5' more must be initialized. (dart:html, line 33128, col 3)
101 [warning] The final variables 'readyState' and 'track' must be initialized. (dar t:html, line 34173, col 3) 101 [warning] The final variables 'readyState' and 'track' must be initialized. (dar t:html, line 34169, col 3)
102 [warning] The final variables 'decodedFrameCount', 'droppedFrameCount' and '2' m ore must be initialized. (dart:html, line 34889, col 3) 102 [warning] The final variables 'decodedFrameCount', 'droppedFrameCount' and '2' m ore must be initialized. (dart:html, line 34885, col 3)
103 [warning] The final variables 'href' and 'target' must be initialized. (dart:svg , line 56, col 3) 103 [warning] The final variables 'href' and 'target' must be initialized. (dart:svg , line 56, col 3)
104 [warning] The final variables 'requiredExtensions', 'requiredFeatures' and '2' m ore must be initialized. (dart:svg, line 512, col 3) 104 [warning] The final variables 'requiredExtensions', 'requiredFeatures' and '2' m ore must be initialized. (dart:svg, line 512, col 3)
105 [warning] The final variables 'cx', 'cy' and '1' more must be initialized. (dart :svg, line 587, col 3) 105 [warning] The final variables 'cx', 'cy' and '1' more must be initialized. (dart :svg, line 587, col 3)
106 [warning] The final variable 'clipPathUnits' must be initialized. (dart:svg, lin e 624, col 3) 106 [warning] The final variable 'clipPathUnits' must be initialized. (dart:svg, lin e 624, col 3)
107 [warning] The final variables 'cx', 'cy' and '2' more must be initialized. (dart :svg, line 723, col 3) 107 [warning] The final variables 'cx', 'cy' and '2' more must be initialized. (dart :svg, line 723, col 3)
108 [warning] The final variables 'height', 'in1' and '6' more must be initialized. (dart:svg, line 769, col 3) 108 [warning] The final variables 'height', 'in1' and '6' more must be initialized. (dart:svg, line 769, col 3)
109 [warning] The final variables 'height', 'in1' and '6' more must be initialized. (dart:svg, line 862, col 3) 109 [warning] The final variables 'height', 'in1' and '6' more must be initialized. (dart:svg, line 862, col 3)
110 [warning] The final variables 'height', 'in1' and '4' more must be initialized. (dart:svg, line 951, col 3) 110 [warning] The final variables 'height', 'in1' and '4' more must be initialized. (dart:svg, line 951, col 3)
111 [warning] The final variables 'height', 'in1' and '10' more must be initialized. (dart:svg, line 1003, col 3) 111 [warning] The final variables 'height', 'in1' and '10' more must be initialized. (dart:svg, line 1003, col 3)
112 [warning] The final variables 'bias', 'divisor' and '15' more must be initialize d. (dart:svg, line 1111, col 3) 112 [warning] The final variables 'bias', 'divisor' and '15' more must be initialize d. (dart:svg, line 1111, col 3)
(...skipping 24 matching lines...) Expand all
137 [warning] The final variables 'height', 'href' and '11' more must be initialized . (dart:svg, line 4225, col 3) 137 [warning] The final variables 'height', 'href' and '11' more must be initialized . (dart:svg, line 4225, col 3)
138 [warning] The final variables 'animatedPoints' and 'points' must be initialized. (dart:svg, line 4394, col 3) 138 [warning] The final variables 'animatedPoints' and 'points' must be initialized. (dart:svg, line 4394, col 3)
139 [warning] The final variables 'animatedPoints' and 'points' must be initialized. (dart:svg, line 4427, col 3) 139 [warning] The final variables 'animatedPoints' and 'points' must be initialized. (dart:svg, line 4427, col 3)
140 [warning] The final variables 'cx', 'cy' and '4' more must be initialized. (dart :svg, line 4538, col 3) 140 [warning] The final variables 'cx', 'cy' and '4' more must be initialized. (dart :svg, line 4538, col 3)
141 [warning] The final variables 'height', 'rx' and '4' more must be initialized. ( dart:svg, line 4617, col 3) 141 [warning] The final variables 'height', 'rx' and '4' more must be initialized. ( dart:svg, line 4617, col 3)
142 [warning] The final variable 'href' must be initialized. (dart:svg, line 4666, c ol 3) 142 [warning] The final variable 'href' must be initialized. (dart:svg, line 4666, c ol 3)
143 [warning] The final variable 'gradientOffset' must be initialized. (dart:svg, li ne 4734, col 3) 143 [warning] The final variable 'gradientOffset' must be initialized. (dart:svg, li ne 4734, col 3)
144 [warning] The final variable 'sheet' must be initialized. (dart:svg, line 4866, col 3) 144 [warning] The final variable 'sheet' must be initialized. (dart:svg, line 4866, col 3)
145 [warning] The final variables 'ownerSvgElement' and 'viewportElement' must be in itialized. (dart:svg, line 5354, col 3) 145 [warning] The final variables 'ownerSvgElement' and 'viewportElement' must be in itialized. (dart:svg, line 5354, col 3)
146 [warning] The final variables 'currentTranslate', 'currentView' and '12' more mu st be initialized. (dart:svg, line 5676, col 3) 146 [warning] The final variables 'currentTranslate', 'currentView' and '12' more mu st be initialized. (dart:svg, line 5676, col 3)
147 [warning] The final variables 'preserveAspectRatio' and 'viewBox' must be initia lized. (dart:svg, line 5899, col 3) 147 [warning] The final variables 'preserveAspectRatio' and 'viewBox' must be initia lized. (dart:svg, line 5898, col 3)
148 [warning] The final variables 'lengthAdjust' and 'textLength' must be initialize d. (dart:svg, line 5975, col 3) 148 [warning] The final variables 'lengthAdjust' and 'textLength' must be initialize d. (dart:svg, line 5974, col 3)
149 [warning] The final variables 'href', 'method' and '2' more must be initialized. (dart:svg, line 6076, col 3) 149 [warning] The final variables 'href', 'method' and '2' more must be initialized. (dart:svg, line 6075, col 3)
150 [warning] The final variables 'dx', 'dy' and '3' more must be initialized. (dart :svg, line 6138, col 3) 150 [warning] The final variables 'dx', 'dy' and '3' more must be initialized. (dart :svg, line 6137, col 3)
151 [warning] The final variables 'height', 'href' and '3' more must be initialized. (dart:svg, line 6437, col 3) 151 [warning] The final variables 'height', 'href' and '3' more must be initialized. (dart:svg, line 6436, col 3)
152 [warning] The final variables 'preserveAspectRatio', 'viewBox' and '1' more must be initialized. (dart:svg, line 6484, col 3) 152 [warning] The final variables 'preserveAspectRatio', 'viewBox' and '1' more must be initialized. (dart:svg, line 6483, col 3)
153 [warning] The final variables 'gradientTransform', 'gradientUnits' and '2' more must be initialized. (dart:svg, line 6642, col 3) 153 [warning] The final variables 'gradientTransform', 'gradientUnits' and '2' more must be initialized. (dart:svg, line 6641, col 3)
OLDNEW
« no previous file with comments | « pkg/dev_compiler/tool/input_sdk/private/native_typed_data.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698