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

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

Issue 2782533002: Report errors for the new top-level inference rules. (Closed)
Patch Set: Update language_strong status for analyzer. 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
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)
58 [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)
59 [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)
60 [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)
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) 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] 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)
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) 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] 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) 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)
65 [error] The getter 'packagesBase' isn't defined for the class 'IsolateNatives'. (dart:isolate, line 716, col 61) 66 [error] The getter 'packagesBase' isn't defined for the class 'IsolateNatives'. (dart:isolate, line 716, col 61)
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) 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)
67 [error] The argument type 'List' can't be assigned to the parameter type 'Iterab le<Null>'. (dart:js_util, line 112, col 29) 68 [error] The argument type 'List' can't be assigned to the parameter type 'Iterab le<Null>'. (dart:js_util, line 112, col 29)
(...skipping 75 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) 144 [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) 145 [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) 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 '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)
147 [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)
148 [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)
149 [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)
150 [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)
151 [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)
152 [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') | tests/language_strong/language_strong.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698