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

Side by Side Diff: tool/sdk_expected_errors.txt

Issue 1317933005: Some preliminary support for quasi-generics (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Reformat Created 5 years, 3 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 severe: [AnalyzerMessage] Classes cannot implement 'bool' (dart:_interceptors, l ine 29, col 45) 1 severe: [AnalyzerMessage] Classes cannot implement 'bool' (dart:_interceptors, l ine 29, col 45)
2 severe: [AnalyzerMessage] Classes cannot implement 'num' (dart:_interceptors/js_ number.dart, line 16, col 47) 2 severe: [AnalyzerMessage] Classes cannot implement 'num' (dart:_interceptors/js_ number.dart, line 16, col 47)
3 severe: [AnalyzerMessage] The return type 'JSNumber' is not a 'double', as defin ed by the method 'toDouble' (dart:_interceptors/js_number.dart, line 110, col 17 ) 3 severe: [AnalyzerMessage] The return type 'JSNumber' is not a 'double', as defin ed by the method 'toDouble' (dart:_interceptors/js_number.dart, line 110, col 17 )
4 severe: [StaticTypeError] Type check failed: this (JSNumber) is not of type doub le (dart:_interceptors/js_number.dart, line 110, col 17) 4 severe: [StaticTypeError] Type check failed: this (JSNumber) is not of type doub le (dart:_interceptors/js_number.dart, line 110, col 17)
5 severe: [InvalidMethodOverride] Base class introduces an invalid override. The t ype of JSNumber.abs (() → num) is not a subtype of int.abs (() → int). (dart:_in terceptors/js_number.dart, line 349, col 13) 5 severe: [InvalidMethodOverride] Base class introduces an invalid override. The t ype of JSNumber.abs (() → num) is not a subtype of int.abs (() → int). (dart:_in terceptors/js_number.dart, line 349, col 13)
6 severe: [InvalidMethodOverride] Base class introduces an invalid override. The t ype of JSNumber.unary- (() → num) is not a subtype of int.unary- (() → int). (da rt:_interceptors/js_number.dart, line 349, col 13) 6 severe: [InvalidMethodOverride] Base class introduces an invalid override. The t ype of JSNumber.unary- (() → num) is not a subtype of int.unary- (() → int). (da rt:_interceptors/js_number.dart, line 349, col 13)
7 severe: [InvalidMethodOverride] Base class introduces an invalid override. The t ype of JSNumber.<< ((num) → num) is not a subtype of int.<< ((int) → int). (dart :_interceptors/js_number.dart, line 349, col 13) 7 severe: [InvalidMethodOverride] Base class introduces an invalid override. The t ype of JSNumber.<< ((num) → num) is not a subtype of int.<< ((int) → int). (dart :_interceptors/js_number.dart, line 349, col 13)
8 severe: [InvalidMethodOverride] Base class introduces an invalid override. The t ype of JSNumber.>> ((num) → num) is not a subtype of int.>> ((int) → int). (dart :_interceptors/js_number.dart, line 349, col 13) 8 severe: [InvalidMethodOverride] Base class introduces an invalid override. The t ype of JSNumber.>> ((num) → num) is not a subtype of int.>> ((int) → int). (dart :_interceptors/js_number.dart, line 349, col 13)
9 severe: [InvalidMethodOverride] Base class introduces an invalid override. The t ype of JSNumber.& ((num) → num) is not a subtype of int.& ((int) → int). (dart:_ interceptors/js_number.dart, line 349, col 13) 9 severe: [InvalidMethodOverride] Base class introduces an invalid override. The t ype of JSNumber.& ((num) → num) is not a subtype of int.& ((int) → int). (dart:_ interceptors/js_number.dart, line 349, col 13)
10 severe: [InvalidMethodOverride] Base class introduces an invalid override. The t ype of JSNumber.| ((num) → num) is not a subtype of int.| ((int) → int). (dart:_ interceptors/js_number.dart, line 349, col 13) 10 severe: [InvalidMethodOverride] Base class introduces an invalid override. The t ype of JSNumber.| ((num) → num) is not a subtype of int.| ((int) → int). (dart:_ interceptors/js_number.dart, line 349, col 13)
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 warning: [DownCastComposite] object (Object) will need runtime check to cast to type E (dart:collection/splay_tree.dart, line 739, col 40) 216 warning: [DownCastComposite] object (Object) will need runtime check to cast to type E (dart:collection/splay_tree.dart, line 739, col 40)
217 warning: [DownCastComposite] object (Object) will need runtime check to cast to type E (dart:collection/splay_tree.dart, line 751, col 20) 217 warning: [DownCastComposite] object (Object) will need runtime check to cast to type E (dart:collection/splay_tree.dart, line 751, col 20)
218 warning: [DownCastComposite] element (Object) will need runtime check to cast to type E (dart:collection/splay_tree.dart, line 765, col 39) 218 warning: [DownCastComposite] element (Object) will need runtime check to cast to type E (dart:collection/splay_tree.dart, line 765, col 39)
219 warning: [DownCastComposite] object (Object) will need runtime check to cast to type E (dart:collection/splay_tree.dart, line 779, col 39) 219 warning: [DownCastComposite] object (Object) will need runtime check to cast to type E (dart:collection/splay_tree.dart, line 779, col 39)
220 warning: [DownCastComposite] object (Object) will need runtime check to cast to type E (dart:collection/splay_tree.dart, line 791, col 23) 220 warning: [DownCastComposite] object (Object) will need runtime check to cast to type E (dart:collection/splay_tree.dart, line 791, col 23)
221 warning: [DownCastComposite] result (List<dynamic>) will need runtime check to c ast to type List<int> (dart:convert/ascii.dart, line 96, col 12) 221 warning: [DownCastComposite] result (List<dynamic>) will need runtime check to c ast to type List<int> (dart:convert/ascii.dart, line 96, col 12)
222 warning: [DownCastComposite] _first.encoder.fuse(_second.encoder) (Converter<S, dynamic>) will need runtime check to cast to type Converter<S, T> (dart:convert/ codec.dart, line 87, col 34) 222 warning: [DownCastComposite] _first.encoder.fuse(_second.encoder) (Converter<S, dynamic>) will need runtime check to cast to type Converter<S, T> (dart:convert/ codec.dart, line 87, col 34)
223 warning: [DownCastComposite] _second.decoder.fuse(_first.decoder) (Converter<T, dynamic>) will need runtime check to cast to type Converter<T, S> (dart:convert/ codec.dart, line 88, col 34) 223 warning: [DownCastComposite] _second.decoder.fuse(_first.decoder) (Converter<T, dynamic>) will need runtime check to cast to type Converter<T, S> (dart:convert/ codec.dart, line 88, col 34)
224 warning: [DownCastComposite] JS('JSExtendableArray', '#', keys) (dynamic) will n eed runtime check to cast to type List<String> (dart:convert, line 311, col 12) 224 warning: [DownCastComposite] JS('JSExtendableArray', '#', keys) (dynamic) will n eed runtime check to cast to type List<String> (dart:convert, line 311, col 12)
225 warning: [DownCastComposite] _second.convert(_first.convert(input)) (dynamic) wi ll need runtime check to cast to type T (dart:convert/converter.dart, line 58, c ol 25) 225 warning: [DownCastComposite] _second.convert(_first.convert(input)) (dynamic) wi ll need runtime check to cast to type T (dart:convert/converter.dart, line 58, c ol 25)
226 warning: [DownCastComposite] byteStream.transform(decoder).fold(new StringBuffer (), (buffer, string) => buffer..write(string)).then((buffer) => buffer.toString( )) (Future<dynamic>) will need runtime check to cast to type Future<String> (dar t:convert/encoding.dart, line 14, col 12)
227 warning: [DownCastComposite] toEncodable ((dynamic) → dynamic) will need runtime check to cast to type (Object) → Object (dart:convert/json.dart, line 142, col 28) 226 warning: [DownCastComposite] toEncodable ((dynamic) → dynamic) will need runtime check to cast to type (Object) → Object (dart:convert/json.dart, line 142, col 28)
228 warning: [DownCastComposite] _toEncodable ((dynamic) → dynamic) will need runtim e check to cast to type (Object) → Object (dart:convert/json.dart, line 147, col 28) 227 warning: [DownCastComposite] _toEncodable ((dynamic) → dynamic) will need runtim e check to cast to type (Object) → Object (dart:convert/json.dart, line 147, col 28)
229 warning: [DownCastComposite] _toEncodable (Function) will need runtime check to cast to type (Object) → dynamic (dart:convert/json.dart, line 270, col 42) 228 warning: [DownCastComposite] _toEncodable (Function) will need runtime check to cast to type (Object) → dynamic (dart:convert/json.dart, line 270, col 42)
230 warning: [DownCastComposite] _toEncodable (Function) will need runtime check to cast to type (Object) → dynamic (dart:convert/json.dart, line 352, col 36) 229 warning: [DownCastComposite] _toEncodable (Function) will need runtime check to cast to type (Object) → dynamic (dart:convert/json.dart, line 352, col 36)
231 warning: [DownCastComposite] _toEncodable (Function) will need runtime check to cast to type (Object) → dynamic (dart:convert/json.dart, line 455, col 53) 230 warning: [DownCastComposite] _toEncodable (Function) will need runtime check to cast to type (Object) → dynamic (dart:convert/json.dart, line 455, col 53)
232 warning: [DownCastComposite] object (dynamic) will need runtime check to cast to type Map<String, Object> (dart:convert/json.dart, line 715, col 16) 231 warning: [DownCastComposite] object (dynamic) will need runtime check to cast to type Map<String, Object> (dart:convert/json.dart, line 715, col 16)
233 warning: [DownCastComposite] _toEncodable (dynamic) will need runtime check to c ast to type (Object) → Object (dart:convert/json.dart, line 817, col 60) 232 warning: [DownCastComposite] _toEncodable (dynamic) will need runtime check to c ast to type (Object) → Object (dart:convert/json.dart, line 817, col 60)
234 warning: [DownCastComposite] toEncodable (dynamic) will need runtime check to ca st to type (Object) → Object (dart:convert/json.dart, line 895, col 15) 233 warning: [DownCastComposite] toEncodable (dynamic) will need runtime check to ca st to type (Object) → Object (dart:convert/json.dart, line 895, col 15)
235 warning: [DownCastComposite] sink (Sink<dynamic>) will need runtime check to cas t to type Sink<String> (dart:convert/line_splitter.dart, line 24, col 44) 234 warning: [DownCastComposite] sink (Sink<dynamic>) will need runtime check to cas t to type Sink<String> (dart:convert/line_splitter.dart, line 24, col 44)
236 warning: [DownCastComposite] (generator != null) ? generator : _id (Function) wi ll need runtime check to cast to type (int) → E (dart:core/iterable.dart, line 3 19, col 22) 235 warning: [DownCastComposite] (generator != null) ? generator : _id (Function) wi ll need runtime check to cast to type (int) → E (dart:core/iterable.dart, line 3 19, col 22)
(...skipping 20 matching lines...) Expand all
257 warning: [DownCastComposite] f ((dynamic) → bool) will need runtime check to cas t to type (T) → bool (dart:_internal/iterable.dart, line 961, col 43) 256 warning: [DownCastComposite] f ((dynamic) → bool) will need runtime check to cas t to type (T) → bool (dart:_internal/iterable.dart, line 961, col 43)
258 warning: [DownCastComposite] list (List<dynamic>) will need runtime check to cas t to type Iterable<T> (dart:_internal/iterable.dart, line 978, col 35) 257 warning: [DownCastComposite] list (List<dynamic>) will need runtime check to cas t to type Iterable<T> (dart:_internal/iterable.dart, line 978, col 35)
259 warning: [DownCastComposite] iterable (Iterable<dynamic>) will need runtime chec k to cast to type Iterable<T> (dart:_internal/iterable.dart, line 983, col 37) 258 warning: [DownCastComposite] iterable (Iterable<dynamic>) will need runtime chec k to cast to type Iterable<T> (dart:_internal/iterable.dart, line 983, col 37)
260 warning: [DownCastComposite] test ((dynamic) → bool) will need runtime check to cast to type (T) → bool (dart:_internal/iterable.dart, line 983, col 47) 259 warning: [DownCastComposite] test ((dynamic) → bool) will need runtime check to cast to type (T) → bool (dart:_internal/iterable.dart, line 983, col 47)
261 warning: [DownCastComposite] list (List<dynamic>) will need runtime check to cas t to type Iterable<T> (dart:_internal/iterable.dart, line 988, col 35) 260 warning: [DownCastComposite] list (List<dynamic>) will need runtime check to cas t to type Iterable<T> (dart:_internal/iterable.dart, line 988, col 35)
262 warning: [DownCastComposite] iterable (Iterable<dynamic>) will need runtime chec k to cast to type Iterable<T> (dart:_internal/iterable.dart, line 993, col 37) 261 warning: [DownCastComposite] iterable (Iterable<dynamic>) will need runtime chec k to cast to type Iterable<T> (dart:_internal/iterable.dart, line 993, col 37)
263 warning: [DownCastComposite] test ((dynamic) → bool) will need runtime check to cast to type (T) → bool (dart:_internal/iterable.dart, line 993, col 47) 262 warning: [DownCastComposite] test ((dynamic) → bool) will need runtime check to cast to type (T) → bool (dart:_internal/iterable.dart, line 993, col 47)
264 warning: [DownCastComposite] list (List<dynamic>) will need runtime check to cas t to type Iterable<T> (dart:_internal/iterable.dart, line 997, col 40) 263 warning: [DownCastComposite] list (List<dynamic>) will need runtime check to cas t to type Iterable<T> (dart:_internal/iterable.dart, line 997, col 40)
265 warning: [DownCastComposite] list (List<dynamic>) will need runtime check to cas t to type Iterable<T> (dart:_internal/iterable.dart, line 1033, col 35) 264 warning: [DownCastComposite] list (List<dynamic>) will need runtime check to cas t to type Iterable<T> (dart:_internal/iterable.dart, line 1033, col 35)
266 warning: [DownCastComposite] l (List<dynamic>) will need runtime check to cast t o type List<T> (dart:_internal/iterable.dart, line 1115, col 31) 265 warning: [DownCastComposite] l (List<dynamic>) will need runtime check to cast t o type List<T> (dart:_internal/iterable.dart, line 1115, col 31)
267 warning: [DownCastComposite] IsolateNatives.spawnFunction(entryPoint, message, p aused).then((msg) => new Isolate(msg[1], pauseCapability: msg[2], terminateCapab ility: msg[3])) (Future<dynamic>) will need runtime check to cast to type Future <Isolate> (dart:isolate, line 168, col 14)
268 warning: [DownCastComposite] IsolateNatives.spawnUri(uri, args, message, paused) .then((msg) => new Isolate(msg[1], pauseCapability: msg[2], terminateCapability: msg[3])) (Future<dynamic>) will need runtime check to cast to type Future<Isola te> (dart:isolate, line 234, col 14)
269 warning: [DownCastComposite] _convertToJS ((dynamic) → dynamic) will need runtim e check to cast to type (E) → dynamic (dart:js, line 325, col 44) 266 warning: [DownCastComposite] _convertToJS ((dynamic) → dynamic) will need runtim e check to cast to type (E) → dynamic (dart:js, line 325, col 44)
270 warning: [DownCastComposite] super[index] (dynamic) will need runtime check to c ast to type E (dart:js, line 358, col 12) 267 warning: [DownCastComposite] super[index] (dynamic) will need runtime check to c ast to type E (dart:js, line 358, col 12)
271 warning: [DownCastComposite] callMethod('splice', [index, 1])[0] (dynamic) will need runtime check to cast to type E (dart:js, line 404, col 12) 268 warning: [DownCastComposite] callMethod('splice', [index, 1])[0] (dynamic) will need runtime check to cast to type E (dart:js, line 404, col 12)
272 warning: [DownCastComposite] callMethod('pop') (dynamic) will need runtime check to cast to type E (dart:js, line 409, col 12) 269 warning: [DownCastComposite] callMethod('pop') (dynamic) will need runtime check to cast to type E (dart:js, line 409, col 12)
273 warning: [DownCastComposite] x + other.x (num) will need runtime check to cast t o type T (dart:math/point.dart, line 37, col 25) 270 warning: [DownCastComposite] x + other.x (num) will need runtime check to cast t o type T (dart:math/point.dart, line 37, col 25)
274 warning: [DownCastComposite] y + other.y (num) will need runtime check to cast t o type T (dart:math/point.dart, line 37, col 38) 271 warning: [DownCastComposite] y + other.y (num) will need runtime check to cast t o type T (dart:math/point.dart, line 37, col 38)
275 warning: [DownCastComposite] x - other.x (num) will need runtime check to cast t o type T (dart:math/point.dart, line 46, col 25) 272 warning: [DownCastComposite] x - other.x (num) will need runtime check to cast t o type T (dart:math/point.dart, line 46, col 25)
276 warning: [DownCastComposite] y - other.y (num) will need runtime check to cast t o type T (dart:math/point.dart, line 46, col 38) 273 warning: [DownCastComposite] y - other.y (num) will need runtime check to cast t o type T (dart:math/point.dart, line 46, col 38)
277 warning: [DownCastComposite] x * factor (num) will need runtime check to cast to type T (dart:math/point.dart, line 59, col 25) 274 warning: [DownCastComposite] x * factor (num) will need runtime check to cast to type T (dart:math/point.dart, line 59, col 25)
278 warning: [DownCastComposite] y * factor (num) will need runtime check to cast to type T (dart:math/point.dart, line 59, col 37) 275 warning: [DownCastComposite] y * factor (num) will need runtime check to cast to type T (dart:math/point.dart, line 59, col 37)
(...skipping 19 matching lines...) Expand all
298 warning: [DownCastComposite] min(a.y, b.y) (num) will need runtime check to cast to type T (dart:math/rectangle.dart, line 169, col 13) 295 warning: [DownCastComposite] min(a.y, b.y) (num) will need runtime check to cast to type T (dart:math/rectangle.dart, line 169, col 13)
299 warning: [DownCastComposite] max(a.y, b.y) - top (num) will need runtime check t o cast to type T (dart:math/rectangle.dart, line 170, col 16) 296 warning: [DownCastComposite] max(a.y, b.y) - top (num) will need runtime check t o cast to type T (dart:math/rectangle.dart, line 170, col 16)
300 warning: [DownCastComposite] (width < 0) ? _clampToZero(width) : width (num) wil l need runtime check to cast to type T (dart:math/rectangle.dart, line 212, col 23) 297 warning: [DownCastComposite] (width < 0) ? _clampToZero(width) : width (num) wil l need runtime check to cast to type T (dart:math/rectangle.dart, line 212, col 23)
301 warning: [DownCastComposite] (height < 0) ? _clampToZero(height) : height (num) will need runtime check to cast to type T (dart:math/rectangle.dart, line 213, c ol 24) 298 warning: [DownCastComposite] (height < 0) ? _clampToZero(height) : height (num) will need runtime check to cast to type T (dart:math/rectangle.dart, line 213, c ol 24)
302 warning: [DownCastComposite] min(a.x, b.x) (num) will need runtime check to cast to type T (dart:math/rectangle.dart, line 228, col 14) 299 warning: [DownCastComposite] min(a.x, b.x) (num) will need runtime check to cast to type T (dart:math/rectangle.dart, line 228, col 14)
303 warning: [DownCastComposite] max(a.x, b.x) - left (num) will need runtime check to cast to type T (dart:math/rectangle.dart, line 229, col 15) 300 warning: [DownCastComposite] max(a.x, b.x) - left (num) will need runtime check to cast to type T (dart:math/rectangle.dart, line 229, col 15)
304 warning: [DownCastComposite] min(a.y, b.y) (num) will need runtime check to cast to type T (dart:math/rectangle.dart, line 230, col 13) 301 warning: [DownCastComposite] min(a.y, b.y) (num) will need runtime check to cast to type T (dart:math/rectangle.dart, line 230, col 13)
305 warning: [DownCastComposite] max(a.y, b.y) - top (num) will need runtime check t o cast to type T (dart:math/rectangle.dart, line 231, col 16) 302 warning: [DownCastComposite] max(a.y, b.y) - top (num) will need runtime check t o cast to type T (dart:math/rectangle.dart, line 231, col 16)
306 warning: [DownCastComposite] _clampToZero(width) (num) will need runtime check t o cast to type T (dart:math/rectangle.dart, line 247, col 28) 303 warning: [DownCastComposite] _clampToZero(width) (num) will need runtime check t o cast to type T (dart:math/rectangle.dart, line 247, col 28)
307 warning: [DownCastComposite] _clampToZero(height) (num) will need runtime check to cast to type T (dart:math/rectangle.dart, line 263, col 30) 304 warning: [DownCastComposite] _clampToZero(height) (num) will need runtime check to cast to type T (dart:math/rectangle.dart, line 263, col 30)
OLDNEW
« lib/src/checker/resolver.dart ('K') | « test/checker/inferred_type_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698