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

Side by Side Diff: tool/sdk_expected_errors.txt

Issue 1180513002: fix #214, check type of inferred initializing formal with default value (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 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 warning: line 80, column 12 of dart:_interceptors/js_array.dart: [DownCastCompos ite] JS('var', r'#.pop()', this) (dynamic) will need runtime check to cast to ty pe E 1 warning: line 80, column 12 of dart:_interceptors/js_array.dart: [DownCastCompos ite] JS('var', r'#.pop()', this) (dynamic) will need runtime check to cast to ty pe E
2 return JS('var', r'#.pop()', this); 2 return JS('var', r'#.pop()', this);
3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 warning: line 125, column 9 of dart:_interceptors/js_array.dart: [DownCastCompos ite] JS('', '#[#]', this, i) (dynamic) will need runtime check to cast to type E 4 warning: line 125, column 9 of dart:_interceptors/js_array.dart: [DownCastCompos ite] JS('', '#[#]', this, i) (dynamic) will need runtime check to cast to type E
5 f(JS('', '#[#]', this, i)); 5 f(JS('', '#[#]', this, i));
6 ^^^^^^^^^^^^^^^^^^^^^^^ 6 ^^^^^^^^^^^^^^^^^^^^^^^
7 warning: line 161, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.reduce(this, combine) (dynamic) will need runtime check to cast to type E 7 warning: line 161, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.reduce(this, combine) (dynamic) will need runtime check to cast to type E
8 return IterableMixinWorkaround.reduce(this, combine); 8 return IterableMixinWorkaround.reduce(this, combine);
9 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 9 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10 warning: line 169, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.firstWhere(this, test, orElse) (dynamic) will need runtime check to cast to type E 10 warning: line 169, column 12 of dart:_interceptors/js_array.dart: [DownCastCompo site] IterableMixinWorkaround.firstWhere(this, test, orElse) (dynamic) will need runtime check to cast to type E
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 ^^^^^^^^ 252 ^^^^^^^^
253 warning: line 378, column 17 of dart:_internal/iterable.dart: [DownCastComposite ] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable< S> 253 warning: line 378, column 17 of dart:_internal/iterable.dart: [DownCastComposite ] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable< S>
254 : super._(iterable, function); 254 : super._(iterable, function);
255 ^^^^^^^^ 255 ^^^^^^^^
256 warning: line 454, column 76 of dart:_internal/iterable.dart: [DownCastComposite ] _f ((dynamic) → Iterable<dynamic>) will need runtime check to cast to type (S) → Iterable<T> 256 warning: line 454, column 76 of dart:_internal/iterable.dart: [DownCastComposite ] _f ((dynamic) → Iterable<dynamic>) will need runtime check to cast to type (S) → Iterable<T>
257 Iterator<T> get iterator => new ExpandIterator<S, T>(_iterable.iterator, _f); 257 Iterator<T> get iterator => new ExpandIterator<S, T>(_iterable.iterator, _f);
258 ^^ 258 ^^
259 warning: line 481, column 29 of dart:_internal/iterable.dart: [DownCastComposite ] _f(_iterator.current).iterator (Iterator<dynamic>) will need runtime check to cast to type Iterator<T> 259 warning: line 481, column 29 of dart:_internal/iterable.dart: [DownCastComposite ] _f(_iterator.current).iterator (Iterator<dynamic>) will need runtime check to cast to type Iterator<T>
260 _currentExpansion = _f(_iterator.current).iterator; 260 _currentExpansion = _f(_iterator.current).iterator;
261 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
262 warning: line 555, column 57 of dart:_internal/iterable.dart: [DownCastComposite ] _f ((dynamic) → bool) will need runtime check to cast to type (E) → bool
263 return new TakeWhileIterator<E>(_iterable.iterator, _f);
264 ^^
265 warning: line 648, column 57 of dart:_internal/iterable.dart: [DownCastComposite ] _f ((dynamic) → bool) will need runtime check to cast to type (E) → bool
266 return new SkipWhileIterator<E>(_iterable.iterator, _f);
267 ^^
268 warning: line 961, column 33 of dart:_internal/iterable.dart: [DownCastComposite ] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable< T> 262 warning: line 961, column 33 of dart:_internal/iterable.dart: [DownCastComposite ] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable< T>
269 return new WhereIterable<T>(iterable, f); 263 return new WhereIterable<T>(iterable, f);
270 ^^^^^^^^ 264 ^^^^^^^^
271 warning: line 961, column 43 of dart:_internal/iterable.dart: [DownCastComposite ] f ((dynamic) → bool) will need runtime check to cast to type (T) → bool 265 warning: line 961, column 43 of dart:_internal/iterable.dart: [DownCastComposite ] f ((dynamic) → bool) will need runtime check to cast to type (T) → bool
272 return new WhereIterable<T>(iterable, f); 266 return new WhereIterable<T>(iterable, f);
273 ^ 267 ^
274 warning: line 978, column 35 of dart:_internal/iterable.dart: [DownCastComposite ] list (List<dynamic>) will need runtime check to cast to type Iterable<T> 268 warning: line 978, column 35 of dart:_internal/iterable.dart: [DownCastComposite ] list (List<dynamic>) will need runtime check to cast to type Iterable<T>
275 return new SubListIterable<T>(list, 0, n); 269 return new SubListIterable<T>(list, 0, n);
276 ^^^^ 270 ^^^^
277 warning: line 983, column 37 of dart:_internal/iterable.dart: [DownCastComposite ] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable< T> 271 warning: line 983, column 37 of dart:_internal/iterable.dart: [DownCastComposite ] iterable (Iterable<dynamic>) will need runtime check to cast to type Iterable< T>
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 ^^^^^^^^^^^^^^^^ 1068 ^^^^^^^^^^^^^^^^
1075 warning: line 1869, column 12 of dart:core/uri.dart: [DownCastComposite] query.s plit("&").fold({}, (map, element) {int index = element.indexOf("="); if (index = = -1) {if (element != "") {map[decodeQueryComponent(element, encoding: encoding) ] = "";}} else if (index != 0) {var key = element.substring(0, index); var value = element.substring(index + 1); map[Uri.decodeQueryComponent(key, encoding: enc oding)] = decodeQueryComponent(value, encoding: encoding);} return map;}) (dynam ic) will need runtime check to cast to type Map<String, String> 1069 warning: line 1869, column 12 of dart:core/uri.dart: [DownCastComposite] query.s plit("&").fold({}, (map, element) {int index = element.indexOf("="); if (index = = -1) {if (element != "") {map[decodeQueryComponent(element, encoding: encoding) ] = "";}} else if (index != 0) {var key = element.substring(0, index); var value = element.substring(index + 1); map[Uri.decodeQueryComponent(key, encoding: enc oding)] = decodeQueryComponent(value, encoding: encoding);} return map;}) (dynam ic) will need runtime check to cast to type Map<String, String>
1076 return query.split("&").fold({}, (map, element) { 1070 return query.split("&").fold({}, (map, element) {
1077 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1071 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1078 warning: line 1901, column 12 of dart:core/uri.dart: [DownCastComposite] bytes.m ap((byteString) {int byte = int.parse(byteString); if (byte < 0 || byte > 255) { error('each part must be in the range of `0..255`');} return byte;}).toList() (L ist<dynamic>) will need runtime check to cast to type List<int> 1072 warning: line 1901, column 12 of dart:core/uri.dart: [DownCastComposite] bytes.m ap((byteString) {int byte = int.parse(byteString); if (byte < 0 || byte > 255) { error('each part must be in the range of `0..255`');} return byte;}).toList() (L ist<dynamic>) will need runtime check to cast to type List<int>
1079 return bytes 1073 return bytes
1080 ^^^^^^ 1074 ^^^^^^
1081 warning: line 2023, column 12 of dart:core/uri.dart: [DownCastComposite] bytes ( List<dynamic>) will need runtime check to cast to type List<int> 1075 warning: line 2023, column 12 of dart:core/uri.dart: [DownCastComposite] bytes ( List<dynamic>) will need runtime check to cast to type List<int>
1082 return bytes; 1076 return bytes;
1083 ^^^^^ 1077 ^^^^^
OLDNEW
« tool/input_sdk/lib/internal/iterable.dart ('K') | « tool/input_sdk/lib/internal/iterable.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698