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

Side by Side Diff: tool/sdk_expected_errors.txt

Issue 1160673003: fixes #202, check IndexExpression (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
« no previous file with comments | « test/dart_codegen/expect/collection/splay_tree.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 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 ^^^^ 696 ^^^^
697 warning: line 997, column 40 of dart:_internal/iterable.dart: [DownCastComposite ] list (List<dynamic>) will need runtime check to cast to type Iterable<T> 697 warning: line 997, column 40 of dart:_internal/iterable.dart: [DownCastComposite ] list (List<dynamic>) will need runtime check to cast to type Iterable<T>
698 return new ReversedListIterable<T>(list); 698 return new ReversedListIterable<T>(list);
699 ^^^^ 699 ^^^^
700 warning: line 1033, column 35 of dart:_internal/iterable.dart: [DownCastComposit e] list (List<dynamic>) will need runtime check to cast to type Iterable<T> 700 warning: line 1033, column 35 of dart:_internal/iterable.dart: [DownCastComposit e] list (List<dynamic>) will need runtime check to cast to type Iterable<T>
701 return new SubListIterable<T>(list, start, end); 701 return new SubListIterable<T>(list, start, end);
702 ^^^^ 702 ^^^^
703 warning: line 1115, column 31 of dart:_internal/iterable.dart: [DownCastComposit e] l (List<dynamic>) will need runtime check to cast to type List<T> 703 warning: line 1115, column 31 of dart:_internal/iterable.dart: [DownCastComposit e] l (List<dynamic>) will need runtime check to cast to type List<T>
704 return new ListMapView<T>(l); 704 return new ListMapView<T>(l);
705 ^ 705 ^
706 warning: line 251, column 59 of dart:_internal/list.dart: [DownCastImplicit] key (Object) will need runtime check to cast to type int
707 E operator[] (Object key) => containsKey(key) ? _values[key] : null;
708 ^^^
706 warning: line 179, column 12 of dart:collection: [DownCastComposite] JS('var', ' #.splice(#, 2)[1]', bucket, index) (dynamic) will need runtime check to cast to type V 709 warning: line 179, column 12 of dart:collection: [DownCastComposite] JS('var', ' #.splice(#, 2)[1]', bucket, index) (dynamic) will need runtime check to cast to type V
707 return JS('var', '#.splice(#, 2)[1]', bucket, index); 710 return JS('var', '#.splice(#, 2)[1]', bucket, index);
708 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 711 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
709 warning: line 193, column 14 of dart:collection: [DownCastComposite] key (dynami c) will need runtime check to cast to type K 712 warning: line 193, column 14 of dart:collection: [DownCastComposite] key (dynami c) will need runtime check to cast to type K
710 action(key, this[key]); 713 action(key, this[key]);
711 ^^^ 714 ^^^
712 warning: line 261, column 17 of dart:collection: [DownCastComposite] _getTableEn try(table, key) (dynamic) will need runtime check to cast to type V 715 warning: line 261, column 17 of dart:collection: [DownCastComposite] _getTableEn try(table, key) (dynamic) will need runtime check to cast to type V
713 V value = _getTableEntry(table, key); 716 V value = _getTableEntry(table, key);
714 ^^^^^^^^^^^^^^^^^^^^^^^^^^ 717 ^^^^^^^^^^^^^^^^^^^^^^^^^^
715 severe: line 372, column 61 of dart:collection: [InvalidRuntimeCheckError] Inval id runtime check on non-ground type K 718 severe: line 372, column 61 of dart:collection: [InvalidRuntimeCheckError] Inval id runtime check on non-ground type K
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 ^^^^^^^ 816 ^^^^^^^
814 warning: line 1616, column 47 of dart:collection: [DownCastComposite] element (d ynamic) will need runtime check to cast to type E 817 warning: line 1616, column 47 of dart:collection: [DownCastComposite] element (d ynamic) will need runtime check to cast to type E
815 return JS('int', '# & 0x3ffffff', _hasher(element)); 818 return JS('int', '# & 0x3ffffff', _hasher(element));
816 ^^^^^^^ 819 ^^^^^^^
817 warning: line 1678, column 18 of dart:collection: [DownCastComposite] _cell._ele ment (dynamic) will need runtime check to cast to type E 820 warning: line 1678, column 18 of dart:collection: [DownCastComposite] _cell._ele ment (dynamic) will need runtime check to cast to type E
818 _current = _cell._element; 821 _current = _cell._element;
819 ^^^^^^^^^^^^^^ 822 ^^^^^^^^^^^^^^
820 warning: line 112, column 40 of dart:collection/hash_map.dart: [DownCastComposit e] v (dynamic) will need runtime check to cast to type V 823 warning: line 112, column 40 of dart:collection/hash_map.dart: [DownCastComposit e] v (dynamic) will need runtime check to cast to type V
821 other.forEach((k, v) { result[k] = v; }); 824 other.forEach((k, v) { result[k] = v; });
822 ^ 825 ^
826 warning: line 112, column 35 of dart:collection/hash_map.dart: [DownCastComposit e] k (dynamic) will need runtime check to cast to type K
827 other.forEach((k, v) { result[k] = v; });
828 ^
823 warning: line 128, column 17 of dart:collection/hash_set.dart: [DownCastComposit e] elements (Iterable<dynamic>) will need runtime check to cast to type Iterable <E> 829 warning: line 128, column 17 of dart:collection/hash_set.dart: [DownCastComposit e] elements (Iterable<dynamic>) will need runtime check to cast to type Iterable <E>
824 for (E e in elements) result.add(e); 830 for (E e in elements) result.add(e);
825 ^^^^^^^^ 831 ^^^^^^^^
826 warning: line 33, column 16 of dart:collection/iterator.dart: [DownCastComposite ] _iterator.current (dynamic) will need runtime check to cast to type E 832 warning: line 33, column 16 of dart:collection/iterator.dart: [DownCastComposite ] _iterator.current (dynamic) will need runtime check to cast to type E
827 E result = _iterator.current; 833 E result = _iterator.current;
828 ^^^^^^^^^^^^^^^^^ 834 ^^^^^^^^^^^^^^^^^
829 warning: line 99, column 40 of dart:collection/linked_hash_map.dart: [DownCastCo mposite] v (dynamic) will need runtime check to cast to type V 835 warning: line 99, column 40 of dart:collection/linked_hash_map.dart: [DownCastCo mposite] v (dynamic) will need runtime check to cast to type V
830 other.forEach((k, v) { result[k] = v; }); 836 other.forEach((k, v) { result[k] = v; });
831 ^ 837 ^
838 warning: line 99, column 35 of dart:collection/linked_hash_map.dart: [DownCastCo mposite] k (dynamic) will need runtime check to cast to type K
839 other.forEach((k, v) { result[k] = v; });
840 ^
832 warning: line 142, column 12 of dart:collection/linked_hash_map.dart: [DownCastC omposite] fillLiteralMap(keyValuePairs, new _LinkedHashMap<K, V>()) (dynamic) wi ll need runtime check to cast to type LinkedHashMap<K, V> 841 warning: line 142, column 12 of dart:collection/linked_hash_map.dart: [DownCastC omposite] fillLiteralMap(keyValuePairs, new _LinkedHashMap<K, V>()) (dynamic) wi ll need runtime check to cast to type LinkedHashMap<K, V>
833 return fillLiteralMap(keyValuePairs, new _LinkedHashMap<K, V>()); 842 return fillLiteralMap(keyValuePairs, new _LinkedHashMap<K, V>());
834 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 843 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
835 warning: line 65, column 56 of dart:collection/linked_list.dart: [DownCastCompos ite] entry (dynamic) will need runtime check to cast to type E 844 warning: line 65, column 56 of dart:collection/linked_list.dart: [DownCastCompos ite] entry (dynamic) will need runtime check to cast to type E
836 entries.forEach((entry) => _insertAfter(_previous, entry)); 845 entries.forEach((entry) => _insertAfter(_previous, entry));
837 ^^^^^ 846 ^^^^^
838 warning: line 93, column 17 of dart:collection/linked_list.dart: [DownCastCompos ite] next (_LinkedListLink) will need runtime check to cast to type E 847 warning: line 93, column 17 of dart:collection/linked_list.dart: [DownCastCompos ite] next (_LinkedListLink) will need runtime check to cast to type E
839 E entry = next; 848 E entry = next;
840 ^^^^ 849 ^^^^
841 warning: line 105, column 12 of dart:collection/linked_list.dart: [DownCastCompo site] _next (_LinkedListLink) will need runtime check to cast to type E 850 warning: line 105, column 12 of dart:collection/linked_list.dart: [DownCastCompo site] _next (_LinkedListLink) will need runtime check to cast to type E
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 ^^^^^^^ 927 ^^^^^^^
919 warning: line 265, column 23 of dart:collection/splay_tree.dart: [DownCastCompos ite] (compare == null) ? Comparable.compare : compare (dynamic) will need runtim e check to cast to type (K, K) → int 928 warning: line 265, column 23 of dart:collection/splay_tree.dart: [DownCastCompos ite] (compare == null) ? Comparable.compare : compare (dynamic) will need runtim e check to cast to type (K, K) → int
920 : _comparator = (compare == null) ? Comparable.compare : compare, 929 : _comparator = (compare == null) ? Comparable.compare : compare,
921 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 930 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
922 severe: line 266, column 65 of dart:collection/splay_tree.dart: [InvalidRuntimeC heckError] Invalid runtime check on non-ground type K 931 severe: line 266, column 65 of dart:collection/splay_tree.dart: [InvalidRuntimeC heckError] Invalid runtime check on non-ground type K
923 _validKey = (isValidKey != null) ? isValidKey : ((v) => v is K); 932 _validKey = (isValidKey != null) ? isValidKey : ((v) => v is K);
924 ^^^^^^ 933 ^^^^^^
925 warning: line 275, column 40 of dart:collection/splay_tree.dart: [DownCastCompos ite] v (dynamic) will need runtime check to cast to type V 934 warning: line 275, column 40 of dart:collection/splay_tree.dart: [DownCastCompos ite] v (dynamic) will need runtime check to cast to type V
926 other.forEach((k, v) { result[k] = v; }); 935 other.forEach((k, v) { result[k] = v; });
927 ^ 936 ^
937 warning: line 275, column 35 of dart:collection/splay_tree.dart: [DownCastCompos ite] k (dynamic) will need runtime check to cast to type K
938 other.forEach((k, v) { result[k] = v; });
939 ^
928 warning: line 328, column 25 of dart:collection/splay_tree.dart: [DownCastCompos ite] key (Object) will need runtime check to cast to type K 940 warning: line 328, column 25 of dart:collection/splay_tree.dart: [DownCastCompos ite] key (Object) will need runtime check to cast to type K
929 int comp = _splay(key); 941 int comp = _splay(key);
930 ^^^ 942 ^^^
931 warning: line 331, column 16 of dart:collection/splay_tree.dart: [DownCastCompos ite] mapRoot.value (dynamic) will need runtime check to cast to type V 943 warning: line 331, column 16 of dart:collection/splay_tree.dart: [DownCastCompos ite] mapRoot.value (dynamic) will need runtime check to cast to type V
932 return mapRoot.value; 944 return mapRoot.value;
933 ^^^^^^^^^^^^^ 945 ^^^^^^^^^^^^^
934 warning: line 339, column 41 of dart:collection/splay_tree.dart: [DownCastCompos ite] key (Object) will need runtime check to cast to type K 946 warning: line 339, column 41 of dart:collection/splay_tree.dart: [DownCastCompos ite] key (Object) will need runtime check to cast to type K
935 _SplayTreeMapNode mapRoot = _remove(key); 947 _SplayTreeMapNode mapRoot = _remove(key);
936 ^^^ 948 ^^^
937 warning: line 340, column 33 of dart:collection/splay_tree.dart: [DownCastCompos ite] mapRoot.value (dynamic) will need runtime check to cast to type V 949 warning: line 340, column 33 of dart:collection/splay_tree.dart: [DownCastCompos ite] mapRoot.value (dynamic) will need runtime check to cast to type V
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
1188 ^^^^^^^^^^^^^^^^ 1200 ^^^^^^^^^^^^^^^^
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> 1201 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>
1190 return query.split("&").fold({}, (map, element) { 1202 return query.split("&").fold({}, (map, element) {
1191 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1203 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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> 1204 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>
1193 return bytes 1205 return bytes
1194 ^^^^^^ 1206 ^^^^^^
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> 1207 warning: line 2023, column 12 of dart:core/uri.dart: [DownCastComposite] bytes ( List<dynamic>) will need runtime check to cast to type List<int>
1196 return bytes; 1208 return bytes;
1197 ^^^^^ 1209 ^^^^^
OLDNEW
« no previous file with comments | « test/dart_codegen/expect/collection/splay_tree.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698