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

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

Issue 2785183003: Update test expectations to reflect errors that are now warning. (Closed)
Patch Set: 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/test/not_yet_strong_tests.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'. 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.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 [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)
49 [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) 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) 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) 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) 53 [error] A value of type 'Dimension' can't be assigned to a variable of type 'num '. (dart:html, line 40513, col 42)
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) 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)
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) 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)
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) 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)
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) 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)
58 [error] The type of '_startTime' can't be inferred because of the use of the ins tance getter 'millisecondsSinceEpoch'. (dart:io/io_resource_info.dart, line 14, col 48)
59 [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)
60 [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)
61 [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)
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) 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)
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) 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)
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) 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)
65 [error] Invalid override. The type of '_WindowsCodePageDecoder.startChunkedConve rsion' ('(Sink<String>) → ByteConversionSink') isn't a subtype of 'ChunkedConver ter<List<int>, String, List<int>, String>.startChunkedConversion' ('(dynamic) → dynamic'). (dart:io/string_transformer.dart, line 109, col 3) 64 [error] Invalid override. The type of '_WindowsCodePageDecoder.startChunkedConve rsion' ('(Sink<String>) → ByteConversionSink') isn't a subtype of 'ChunkedConver ter<List<int>, String, List<int>, String>.startChunkedConversion' ('(dynamic) → dynamic'). (dart:io/string_transformer.dart, line 109, col 3)
66 [error] The getter 'packagesBase' isn't defined for the class 'IsolateNatives'. (dart:isolate, line 716, col 61) 65 [error] The getter 'packagesBase' isn't defined for the class 'IsolateNatives'. (dart:isolate, line 716, col 61)
67 [error] Invalid override. The type of 'JsArray.[]=' ('(Object, E) → void') isn't a subtype of 'JsObject.[]=' ('(Object, dynamic) → dynamic'). (dart:js, line 370 , col 3) 66 [error] Invalid override. The type of 'JsArray.[]=' ('(Object, E) → void') isn't a subtype of 'JsObject.[]=' ('(Object, dynamic) → dynamic'). (dart:js, line 370 , col 3)
68 [error] The argument type 'List' can't be assigned to the parameter type 'Iterab le<Null>'. (dart:js_util, line 112, col 29) 67 [error] The argument type 'List' can't be assigned to the parameter type 'Iterab le<Null>'. (dart:js_util, line 112, col 29)
(...skipping 24 matching lines...) Expand all
93 [warning] The final variables 'form', 'labels' and '4' more must be initialized. (dart:html, line 30128, col 3) 92 [warning] The final variables 'form', 'labels' and '4' more must be initialized. (dart:html, line 30128, col 3)
94 [warning] The final variable 'sheet' must be initialized. (dart:html, line 32489 , col 3) 93 [warning] The final variable 'sheet' must be initialized. (dart:html, line 32489 , col 3)
95 [warning] The final variable 'cellIndex' must be initialized. (dart:html, line 3 2719, col 3) 94 [warning] The final variable 'cellIndex' must be initialized. (dart:html, line 3 2719, col 3)
96 [warning] The final variables '_rows' and '_tBodies' must be initialized. (dart: html, line 32830, col 3) 95 [warning] The final variables '_rows' and '_tBodies' must be initialized. (dart: html, line 32830, col 3)
97 [warning] The final variables '_cells', 'rowIndex' and '1' more must be initiali zed. (dart:html, line 32943, col 3) 96 [warning] The final variables '_cells', 'rowIndex' and '1' more must be initiali zed. (dart:html, line 32943, col 3)
98 [warning] The final variable '_rows' must be initialized. (dart:html, line 33012 , col 3) 97 [warning] The final variable '_rows' must be initialized. (dart:html, line 33012 , col 3)
99 [warning] The final variable 'content' must be initialized. (dart:html, line 330 56, col 3) 98 [warning] The final variable 'content' must be initialized. (dart:html, line 330 56, col 3)
100 [warning] The final variables 'form', 'labels' and '5' more must be initialized. (dart:html, line 33132, col 3) 99 [warning] The final variables 'form', 'labels' and '5' more must be initialized. (dart:html, line 33132, col 3)
101 [warning] The final variables 'readyState' and 'track' must be initialized. (dar t:html, line 34173, col 3) 100 [warning] The final variables 'readyState' and 'track' must be initialized. (dar t:html, line 34173, col 3)
102 [warning] The final variables 'decodedFrameCount', 'droppedFrameCount' and '2' m ore must be initialized. (dart:html, line 34889, col 3) 101 [warning] The final variables 'decodedFrameCount', 'droppedFrameCount' and '2' m ore must be initialized. (dart:html, line 34889, col 3)
102 [warning] The final variable '_isTranslatable' must be initialized. (dart:io/std io.dart, line 327, 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 5899, 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 5975, 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 6076, 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 6138, 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 6437, 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 6484, 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 6642, col 3)
OLDNEW
« no previous file with comments | « pkg/dev_compiler/test/not_yet_strong_tests.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698