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

Side by Side Diff: tool/sdk_expected_errors.txt

Issue 1143953004: Fixes for sunflower (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase 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
« no previous file with comments | « tool/input_sdk/private/js_helper.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 warning: line 20, column 39 of dart:async/async_error.dart: [DownCastImplicit] e rrorHandler (Function) will need runtime check to cast to type (dynamic) → dynam ic 1 warning: line 20, column 39 of dart:async/async_error.dart: [DownCastImplicit] e rrorHandler (Function) will need runtime check to cast to type (dynamic) → dynam ic
2 return zone.registerUnaryCallback(errorHandler); 2 return zone.registerUnaryCallback(errorHandler);
3 ^^^^^^^^^^^^ 3 ^^^^^^^^^^^^
4 severe: line 211, column 38 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The getter '_next' is not defined for the class 'StreamSubscription< T>' 4 severe: line 211, column 38 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The getter '_next' is not defined for the class 'StreamSubscription< T>'
5 assert(!identical(subscription._next, subscription)); 5 assert(!identical(subscription._next, subscription));
6 ^^^^^ 6 ^^^^^
7 severe: line 207, column 36 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The getter '_next' is not defined for the class 'StreamSubscription< T>' 7 severe: line 207, column 36 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The getter '_next' is not defined for the class 'StreamSubscription< T>'
8 assert(!identical(subscription._next, subscription)); 8 assert(!identical(subscription._next, subscription));
9 ^^^^^ 9 ^^^^^
10 severe: line 209, column 20 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The method '_setRemoveAfterFiring' is not defined for the class 'Str eamSubscription<T>' 10 severe: line 209, column 20 of dart:async/broadcast_stream_controller.dart: [Ana lyzerError] The method '_setRemoveAfterFiring' is not defined for the class 'Str eamSubscription<T>'
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 ^^^^^^ 432 ^^^^^^
433 warning: line 59, column 22 of dart:_js_names: [DownCastComposite] keys (List<dy namic>) will need runtime check to cast to type Iterable<String> 433 warning: line 59, column 22 of dart:_js_names: [DownCastComposite] keys (List<dy namic>) will need runtime check to cast to type Iterable<String>
434 for (String key in keys) { 434 for (String key in keys) {
435 ^^^^ 435 ^^^^
436 warning: line 246, column 52 of dart:_js_helper: [DownCastImplicit] memberName ( Symbol) will need runtime check to cast to type Symbol 436 warning: line 246, column 52 of dart:_js_helper: [DownCastImplicit] memberName ( Symbol) will need runtime check to cast to type Symbol
437 String baseName = _symbol_dev.Symbol.getName(memberName); 437 String baseName = _symbol_dev.Symbol.getName(memberName);
438 ^^^^^^^^^^ 438 ^^^^^^^^^^
439 warning: line 474, column 14 of dart:_js_helper: [DownCastComposite] JS('', '#[2 * # + # + # + 1]', data, parameter, optionalParameterCount, FIRST_DEFAULT_ARGUM ENT) (dynamic) will need runtime check to cast to type List<int> 439 warning: line 474, column 14 of dart:_js_helper: [DownCastComposite] JS('', '#[2 * # + # + # + 1]', data, parameter, optionalParameterCount, FIRST_DEFAULT_ARGUM ENT) (dynamic) will need runtime check to cast to type List<int>
440 return JS('', '#[2 * # + # + # + 1]', data, parameter, 440 return JS('', '#[2 * # + # + # + 1]', data, parameter,
441 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 441 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
442 warning: line 592, column 44 of dart:_js_helper: [DownCastComposite] _throwForma tException ((String) → dynamic) will need runtime check to cast to type (String) → int 442 warning: line 609, column 18 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, 16)', source) (num) will need runtime check to cast to type int
443 if (handleError == null) handleError = _throwFormatException;
444 ^^^^^^^^^^^^^^^^^^^^^
445 warning: line 607, column 18 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, 16)', source) (num) will need runtime check to cast to type int
446 return JS('num', r'parseInt(#, 16)', source); 443 return JS('num', r'parseInt(#, 16)', source);
447 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 444 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
448 warning: line 611, column 18 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, 10)', source) (num) will need runtime check to cast to type int 445 warning: line 613, column 18 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, 10)', source) (num) will need runtime check to cast to type int
449 return JS('num', r'parseInt(#, 10)', source); 446 return JS('num', r'parseInt(#, 10)', source);
450 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 447 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
451 warning: line 623, column 18 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, 10)', source) (num) will need runtime check to cast to type int 448 warning: line 625, column 18 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, 10)', source) (num) will need runtime check to cast to type int
452 return JS('num', r'parseInt(#, 10)', source); 449 return JS('num', r'parseInt(#, 10)', source);
453 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 450 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
454 warning: line 655, column 12 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, #)', source, radix) (num) will need runtime check to cast to type in t 451 warning: line 657, column 12 of dart:_js_helper: [DownCastImplicit] JS('num', r' parseInt(#, #)', source, radix) (num) will need runtime check to cast to type in t
455 return JS('num', r'parseInt(#, #)', source, radix); 452 return JS('num', r'parseInt(#, #)', source, radix);
456 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 453 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
457 warning: line 660, column 44 of dart:_js_helper: [DownCastComposite] _throwForma tException ((String) → dynamic) will need runtime check to cast to type (String) → double 454 warning: line 681, column 16 of dart:_js_helper: [DownCastImplicit] result (num) will need runtime check to cast to type double
458 if (handleError == null) handleError = _throwFormatException;
459 ^^^^^^^^^^^^^^^^^^^^^
460 warning: line 677, column 16 of dart:_js_helper: [DownCastImplicit] result (num) will need runtime check to cast to type double
461 return result; 455 return result;
462 ^^^^^^ 456 ^^^^^^
463 warning: line 681, column 12 of dart:_js_helper: [DownCastImplicit] result (num) will need runtime check to cast to type double 457 warning: line 685, column 12 of dart:_js_helper: [DownCastImplicit] result (num) will need runtime check to cast to type double
464 return result; 458 return result;
465 ^^^^^^ 459 ^^^^^^
466 warning: line 830, column 15 of dart:_js_helper: [DownCastImplicit] 0xd800 + ((( (i - 0x10000) >> 10) & 0x3ff)) (num) will need runtime check to cast to type int 460 warning: line 834, column 15 of dart:_js_helper: [DownCastImplicit] 0xd800 + ((( (i - 0x10000) >> 10) & 0x3ff)) (num) will need runtime check to cast to type int
467 a.add(0xd800 + ((((i - 0x10000) >> 10) & 0x3ff))); 461 a.add(0xd800 + ((((i - 0x10000) >> 10) & 0x3ff)));
468 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 462 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
469 warning: line 831, column 15 of dart:_js_helper: [DownCastImplicit] 0xdc00 + (i & 0x3ff) (num) will need runtime check to cast to type int 463 warning: line 835, column 15 of dart:_js_helper: [DownCastImplicit] 0xdc00 + (i & 0x3ff) (num) will need runtime check to cast to type int
470 a.add(0xdc00 + (i & 0x3ff)); 464 a.add(0xdc00 + (i & 0x3ff));
471 ^^^^^^^^^^^^^^^^^^^^ 465 ^^^^^^^^^^^^^^^^^^^^
472 warning: line 845, column 31 of dart:_js_helper: [DownCastComposite] charCodes ( dynamic) will need runtime check to cast to type List<int> 466 warning: line 849, column 31 of dart:_js_helper: [DownCastComposite] charCodes ( dynamic) will need runtime check to cast to type List<int>
473 return _fromCharCodeApply(charCodes); 467 return _fromCharCodeApply(charCodes);
474 ^^^^^^^^^ 468 ^^^^^^^^^
475 warning: line 1501, column 9 of dart:_js_helper: [DownCastComposite] JS('JSExten dableArray|Null', r"#.match(/\\\$[a-zA-Z]+\\\$/g)", message) (dynamic) will need runtime check to cast to type List<String> 469 warning: line 1505, column 9 of dart:_js_helper: [DownCastComposite] JS('JSExten dableArray|Null', r"#.match(/\\\$[a-zA-Z]+\\\$/g)", message) (dynamic) will need runtime check to cast to type List<String>
476 JS('JSExtendableArray|Null', r"#.match(/\\\$[a-zA-Z]+\\\$/g)", message); 470 JS('JSExtendableArray|Null', r"#.match(/\\\$[a-zA-Z]+\\\$/g)", message);
477 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 471 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
478 warning: line 3059, column 7 of dart:_js_helper: [DownCastComposite] parameterTy pes (dynamic) will need runtime check to cast to type List<RuntimeType> 472 warning: line 3063, column 7 of dart:_js_helper: [DownCastComposite] parameterTy pes (dynamic) will need runtime check to cast to type List<RuntimeType>
479 parameterTypes, 473 parameterTypes,
480 ^^^^^^^^^^^^^^ 474 ^^^^^^^^^^^^^^
481 warning: line 3060, column 7 of dart:_js_helper: [DownCastComposite] optionalPar ameterTypes (dynamic) will need runtime check to cast to type List<RuntimeType> 475 warning: line 3064, column 7 of dart:_js_helper: [DownCastComposite] optionalPar ameterTypes (dynamic) will need runtime check to cast to type List<RuntimeType>
482 optionalParameterTypes, 476 optionalParameterTypes,
483 ^^^^^^^^^^^^^^^^^^^^^^ 477 ^^^^^^^^^^^^^^^^^^^^^^
484 warning: line 3069, column 7 of dart:_js_helper: [DownCastComposite] parameterTy pes (dynamic) will need runtime check to cast to type List<RuntimeType> 478 warning: line 3073, column 7 of dart:_js_helper: [DownCastComposite] parameterTy pes (dynamic) will need runtime check to cast to type List<RuntimeType>
485 parameterTypes, 479 parameterTypes,
486 ^^^^^^^^^^^^^^ 480 ^^^^^^^^^^^^^^
487 warning: line 3079, column 39 of dart:_js_helper: [DownCastComposite] typeArgume nts (dynamic) will need runtime check to cast to type List<RuntimeType> 481 warning: line 3083, column 39 of dart:_js_helper: [DownCastComposite] typeArgume nts (dynamic) will need runtime check to cast to type List<RuntimeType>
488 return new RuntimeTypeGeneric(name, typeArguments, null); 482 return new RuntimeTypeGeneric(name, typeArguments, null);
489 ^^^^^^^^^^^^^ 483 ^^^^^^^^^^^^^
490 warning: line 3140, column 41 of dart:_js_helper: [DownCastComposite] arguments (List<dynamic>) will need runtime check to cast to type List<RuntimeType> 484 warning: line 3144, column 41 of dart:_js_helper: [DownCastComposite] arguments (List<dynamic>) will need runtime check to cast to type List<RuntimeType>
491 return new RuntimeTypeGeneric(name, arguments, rti); 485 return new RuntimeTypeGeneric(name, arguments, rti);
492 ^^^^^^^^^ 486 ^^^^^^^^^
493 warning: line 3325, column 23 of dart:_js_helper: [DownCastComposite] JS('JSExte ndableArray|Null', '#[#]', urisMap, loadId) (dynamic) will need runtime check to cast to type List<String> 487 warning: line 3329, column 23 of dart:_js_helper: [DownCastComposite] JS('JSExte ndableArray|Null', '#[#]', urisMap, loadId) (dynamic) will need runtime check to cast to type List<String>
494 List<String> uris = JS('JSExtendableArray|Null', '#[#]', urisMap, loadId); 488 List<String> uris = JS('JSExtendableArray|Null', '#[#]', urisMap, loadId);
495 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 489 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
496 warning: line 3327, column 25 of dart:_js_helper: [DownCastComposite] JS('JSExte ndableArray|Null', '#[#]', hashesMap, loadId) (dynamic) will need runtime check to cast to type List<String> 490 warning: line 3331, column 25 of dart:_js_helper: [DownCastComposite] JS('JSExte ndableArray|Null', '#[#]', hashesMap, loadId) (dynamic) will need runtime check to cast to type List<String>
497 List<String> hashes = JS('JSExtendableArray|Null', '#[#]', hashesMap, loadId); 491 List<String> hashes = JS('JSExtendableArray|Null', '#[#]', hashesMap, loadId);
498 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 492 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
499 warning: line 3337, column 10 of dart:_js_helper: [DownCastComposite] Future.wai t(indicesToLoad.map((int i) => _loadHunk(uris[i]))).then((_) {List<int> indicesT oInitialize = indices.where((int i) => !JS('bool', '#(#)', isHunkInitialized, ha shes[i])).toList(); for (int i in indicesToInitialize) {var initializer = JS_EMB EDDED_GLOBAL('', INITIALIZE_LOADED_HUNK); JS('void', '#(#)', initializer, hashes [i]);} bool updated = _loadedLibraries.add(loadId); if (updated && deferredLoadH ook != null) {deferredLoadHook();}}) (Future<dynamic>) will need runtime check t o cast to type Future<Null> 493 warning: line 3341, column 10 of dart:_js_helper: [DownCastComposite] Future.wai t(indicesToLoad.map((int i) => _loadHunk(uris[i]))).then((_) {List<int> indicesT oInitialize = indices.where((int i) => !JS('bool', '#(#)', isHunkInitialized, ha shes[i])).toList(); for (int i in indicesToInitialize) {var initializer = JS_EMB EDDED_GLOBAL('', INITIALIZE_LOADED_HUNK); JS('void', '#(#)', initializer, hashes [i]);} bool updated = _loadedLibraries.add(loadId); if (updated && deferredLoadH ook != null) {deferredLoadHook();}}) (Future<dynamic>) will need runtime check t o cast to type Future<Null>
500 return Future.wait(indicesToLoad 494 return Future.wait(indicesToLoad
501 ^^^^^^^^^^^^^^^^^^^^^^^^^^ 495 ^^^^^^^^^^^^^^^^^^^^^^^^^^
502 warning: line 3337, column 22 of dart:_js_helper: [DownCastComposite] indicesToL oad.map((int i) => _loadHunk(uris[i])) (Iterable<dynamic>) will need runtime che ck to cast to type Iterable<Future<dynamic>> 496 warning: line 3341, column 22 of dart:_js_helper: [DownCastComposite] indicesToL oad.map((int i) => _loadHunk(uris[i])) (Iterable<dynamic>) will need runtime che ck to cast to type Iterable<Future<dynamic>>
503 return Future.wait(indicesToLoad 497 return Future.wait(indicesToLoad
504 ^^^^^^^^^^^^^^ 498 ^^^^^^^^^^^^^^
505 warning: line 3360, column 12 of dart:_js_helper: [DownCastComposite] future.the n((_) => null) (Future<dynamic>) will need runtime check to cast to type Future< Null> 499 warning: line 3364, column 12 of dart:_js_helper: [DownCastComposite] future.the n((_) => null) (Future<dynamic>) will need runtime check to cast to type Future< Null>
506 return future.then((_) => null); 500 return future.then((_) => null);
507 ^^^^^^^^^^^^^^^^^^^^^^^^ 501 ^^^^^^^^^^^^^^^^^^^^^^^^
508 warning: line 3386, column 36 of dart:_js_helper: [DownCastComposite] completer. future.whenComplete(() {leaveJsAsync();}) (Future<dynamic>) will need runtime ch eck to cast to type Future<Null> 502 warning: line 3390, column 36 of dart:_js_helper: [DownCastComposite] completer. future.whenComplete(() {leaveJsAsync();}) (Future<dynamic>) will need runtime ch eck to cast to type Future<Null>
509 Future<Null> leavingFuture = completer.future.whenComplete(() { 503 Future<Null> leavingFuture = completer.future.whenComplete(() {
510 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 504 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
511 warning: line 20, column 41 of dart:_js_helper/constant_map.dart: [DownCastCompo site] _throwUnmodifiable() (dynamic) will need runtime check to cast to type V 505 warning: line 20, column 41 of dart:_js_helper/constant_map.dart: [DownCastCompo site] _throwUnmodifiable() (dynamic) will need runtime check to cast to type V
512 V putIfAbsent(K key, V ifAbsent()) => _throwUnmodifiable(); 506 V putIfAbsent(K key, V ifAbsent()) => _throwUnmodifiable();
513 ^^^^^^^^^^^^^^^^^^^^ 507 ^^^^^^^^^^^^^^^^^^^^
514 warning: line 21, column 27 of dart:_js_helper/constant_map.dart: [DownCastCompo site] _throwUnmodifiable() (dynamic) will need runtime check to cast to type V 508 warning: line 21, column 27 of dart:_js_helper/constant_map.dart: [DownCastCompo site] _throwUnmodifiable() (dynamic) will need runtime check to cast to type V
515 V remove(Object key) => _throwUnmodifiable(); 509 V remove(Object key) => _throwUnmodifiable();
516 ^^^^^^^^^^^^^^^^^^^^ 510 ^^^^^^^^^^^^^^^^^^^^
517 warning: line 46, column 40 of dart:_js_helper/constant_map.dart: [DownCastImpli cit] key (Object) will need runtime check to cast to type String 511 warning: line 46, column 40 of dart:_js_helper/constant_map.dart: [DownCastImpli cit] key (Object) will need runtime check to cast to type String
518 return jsHasOwnProperty(_jsObject, key); 512 return jsHasOwnProperty(_jsObject, key);
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
1194 ^^^^^^^^^^^^^^^^ 1188 ^^^^^^^^^^^^^^^^
1195 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> 1189 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>
1196 return query.split("&").fold({}, (map, element) { 1190 return query.split("&").fold({}, (map, element) {
1197 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1191 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1198 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> 1192 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>
1199 return bytes 1193 return bytes
1200 ^^^^^^ 1194 ^^^^^^
1201 warning: line 2023, column 12 of dart:core/uri.dart: [DownCastComposite] bytes ( List<dynamic>) will need runtime check to cast to type List<int> 1195 warning: line 2023, column 12 of dart:core/uri.dart: [DownCastComposite] bytes ( List<dynamic>) will need runtime check to cast to type List<int>
1202 return bytes; 1196 return bytes;
1203 ^^^^^ 1197 ^^^^^
OLDNEW
« no previous file with comments | « tool/input_sdk/private/js_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698