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

Side by Side Diff: tool/sdk_expected_errors.txt

Issue 1228063003: fix for 1.12.0-dev SDK and 0.25.1 analyzer breaking changes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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
« pubspec.yaml ('K') | « tool/patch_sdk.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 168, column 14 of dart:isolate: [DownCastComposite] IsolateNatives .spawnFunction(entryPoint, message, paused).then((msg) => new Isolate(msg[1], pa useCapability: msg[2], terminateCapability: msg[3])) (Future<dynamic>) will need runtime check to cast to type Future<Isolate> 1 warning: line 168, column 14 of dart:isolate: [DownCastComposite] IsolateNatives .spawnFunction(entryPoint, message, paused).then((msg) => new Isolate(msg[1], pa useCapability: msg[2], terminateCapability: msg[3])) (Future<dynamic>) will need runtime check to cast to type Future<Isolate>
2 return IsolateNatives.spawnFunction(entryPoint, message, paused) 2 return IsolateNatives.spawnFunction(entryPoint, message, paused)
3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 warning: line 234, column 14 of dart:isolate: [DownCastComposite] IsolateNatives .spawnUri(uri, args, message, paused).then((msg) => new Isolate(msg[1], pauseCap ability: msg[2], terminateCapability: msg[3])) (Future<dynamic>) will need runti me check to cast to type Future<Isolate> 4 warning: line 234, column 14 of dart:isolate: [DownCastComposite] IsolateNatives .spawnUri(uri, args, message, paused).then((msg) => new Isolate(msg[1], pauseCap ability: msg[2], terminateCapability: msg[3])) (Future<dynamic>) will need runti me check to cast to type Future<Isolate>
5 return IsolateNatives.spawnUri(uri, args, message, paused) 5 return IsolateNatives.spawnUri(uri, args, message, paused)
6 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 warning: line 426, column 16 of dart:math: [DownCastImplicit] rnd32.remainder(ma x) (num) will need runtime check to cast to type int 7 warning: line 426, column 16 of dart:math: [DownCastImplicit] rnd32.remainder(ma x) (num) will need runtime check to cast to type int
8 result = rnd32.remainder(max); // % max; 8 result = rnd32.remainder(max); // % max;
9 ^^^^^^^^^^^^^^^^^^^^ 9 ^^^^^^^^^^^^^^^^^^^^
10 warning: line 37, column 25 of dart:math/point.dart: [DownCastComposite] x + oth er.x (num) will need runtime check to cast to type T 10 warning: line 37, column 25 of dart:math/point.dart: [DownCastComposite] x + oth er.x (num) will need runtime check to cast to type T
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 ^^^^^^^^^^^^^^^^^^^^^^ 63 ^^^^^^^^^^^^^^^^^^^^^^
64 warning: line 120, column 44 of dart:math/rectangle.dart: [DownCastComposite] th is.left + this.width (num) will need runtime check to cast to type T 64 warning: line 120, column 44 of dart:math/rectangle.dart: [DownCastComposite] th is.left + this.width (num) will need runtime check to cast to type T
65 Point<T> get bottomRight => new Point<T>(this.left + this.width, 65 Point<T> get bottomRight => new Point<T>(this.left + this.width,
66 ^^^^^^^^^^^^^^^^^^^^^^ 66 ^^^^^^^^^^^^^^^^^^^^^^
67 warning: line 121, column 7 of dart:math/rectangle.dart: [DownCastComposite] thi s.top + this.height (num) will need runtime check to cast to type T 67 warning: line 121, column 7 of dart:math/rectangle.dart: [DownCastComposite] thi s.top + this.height (num) will need runtime check to cast to type T
68 this.top + this.height); 68 this.top + this.height);
69 ^^^^^^^^^^^^^^^^^^^^^^ 69 ^^^^^^^^^^^^^^^^^^^^^^
70 warning: line 123, column 7 of dart:math/rectangle.dart: [DownCastComposite] thi s.top + this.height (num) will need runtime check to cast to type T 70 warning: line 123, column 7 of dart:math/rectangle.dart: [DownCastComposite] thi s.top + this.height (num) will need runtime check to cast to type T
71 this.top + this.height); 71 this.top + this.height);
72 ^^^^^^^^^^^^^^^^^^^^^^ 72 ^^^^^^^^^^^^^^^^^^^^^^
73 warning: line 151, column 22 of dart:math/rectangle.dart: [DownCastComposite] (w idth < 0) ? -width * 0 : width (dynamic) will need runtime check to cast to type T 73 warning: line 151, column 22 of dart:math/rectangle.dart: [DownCastComposite] (w idth < 0) ? -width * 0 : width (num) will need runtime check to cast to type T
74 : this.width = (width < 0) ? -width * 0 : width, // Inline _clampToZero. 74 : this.width = (width < 0) ? -width * 0 : width, // Inline _clampToZero.
75 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 75 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
76 warning: line 152, column 23 of dart:math/rectangle.dart: [DownCastComposite] (h eight < 0) ? -height * 0 : height (dynamic) will need runtime check to cast to t ype T 76 warning: line 152, column 23 of dart:math/rectangle.dart: [DownCastComposite] (h eight < 0) ? -height * 0 : height (num) will need runtime check to cast to type T
77 this.height = (height < 0) ? -height * 0 : height; 77 this.height = (height < 0) ? -height * 0 : height;
78 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 78 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
79 warning: line 167, column 14 of dart:math/rectangle.dart: [DownCastComposite] mi n(a.x, b.x) (num) will need runtime check to cast to type T 79 warning: line 167, column 14 of dart:math/rectangle.dart: [DownCastComposite] mi n(a.x, b.x) (num) will need runtime check to cast to type T
80 T left = min(a.x, b.x); 80 T left = min(a.x, b.x);
81 ^^^^^^^^^^^^^ 81 ^^^^^^^^^^^^^
82 warning: line 168, column 15 of dart:math/rectangle.dart: [DownCastComposite] ma x(a.x, b.x) - left (num) will need runtime check to cast to type T 82 warning: line 168, column 15 of dart:math/rectangle.dart: [DownCastComposite] ma x(a.x, b.x) - left (num) will need runtime check to cast to type T
83 T width = max(a.x, b.x) - left; 83 T width = max(a.x, b.x) - left;
84 ^^^^^^^^^^^^^^^^^^^^ 84 ^^^^^^^^^^^^^^^^^^^^
85 warning: line 169, column 13 of dart:math/rectangle.dart: [DownCastComposite] mi n(a.y, b.y) (num) will need runtime check to cast to type T 85 warning: line 169, column 13 of dart:math/rectangle.dart: [DownCastComposite] mi n(a.y, b.y) (num) will need runtime check to cast to type T
86 T top = min(a.y, b.y); 86 T top = min(a.y, b.y);
87 ^^^^^^^^^^^^^ 87 ^^^^^^^^^^^^^
88 warning: line 170, column 16 of dart:math/rectangle.dart: [DownCastComposite] ma x(a.y, b.y) - top (num) will need runtime check to cast to type T 88 warning: line 170, column 16 of dart:math/rectangle.dart: [DownCastComposite] ma x(a.y, b.y) - top (num) will need runtime check to cast to type T
89 T height = max(a.y, b.y) - top; 89 T height = max(a.y, b.y) - top;
90 ^^^^^^^^^^^^^^^^^^^ 90 ^^^^^^^^^^^^^^^^^^^
91 warning: line 212, column 23 of dart:math/rectangle.dart: [DownCastComposite] (w idth < 0) ? _clampToZero(width) : width (dynamic) will need runtime check to cas t to type T 91 warning: line 212, column 23 of dart:math/rectangle.dart: [DownCastComposite] (w idth < 0) ? _clampToZero(width) : width (num) will need runtime check to cast to type T
92 : this._width = (width < 0) ? _clampToZero(width) : width, 92 : this._width = (width < 0) ? _clampToZero(width) : width,
93 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 93 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
94 warning: line 213, column 24 of dart:math/rectangle.dart: [DownCastComposite] (h eight < 0) ? _clampToZero(height) : height (dynamic) will need runtime check to cast to type T 94 warning: line 213, column 24 of dart:math/rectangle.dart: [DownCastComposite] (h eight < 0) ? _clampToZero(height) : height (num) will need runtime check to cast to type T
95 this._height = (height < 0) ? _clampToZero(height) : height; 95 this._height = (height < 0) ? _clampToZero(height) : height;
96 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 96 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
97 warning: line 228, column 14 of dart:math/rectangle.dart: [DownCastComposite] mi n(a.x, b.x) (num) will need runtime check to cast to type T 97 warning: line 228, column 14 of dart:math/rectangle.dart: [DownCastComposite] mi n(a.x, b.x) (num) will need runtime check to cast to type T
98 T left = min(a.x, b.x); 98 T left = min(a.x, b.x);
99 ^^^^^^^^^^^^^ 99 ^^^^^^^^^^^^^
100 warning: line 229, column 15 of dart:math/rectangle.dart: [DownCastComposite] ma x(a.x, b.x) - left (num) will need runtime check to cast to type T 100 warning: line 229, column 15 of dart:math/rectangle.dart: [DownCastComposite] ma x(a.x, b.x) - left (num) will need runtime check to cast to type T
101 T width = max(a.x, b.x) - left; 101 T width = max(a.x, b.x) - left;
102 ^^^^^^^^^^^^^^^^^^^^ 102 ^^^^^^^^^^^^^^^^^^^^
103 warning: line 230, column 13 of dart:math/rectangle.dart: [DownCastComposite] mi n(a.y, b.y) (num) will need runtime check to cast to type T 103 warning: line 230, column 13 of dart:math/rectangle.dart: [DownCastComposite] mi n(a.y, b.y) (num) will need runtime check to cast to type T
104 T top = min(a.y, b.y); 104 T top = min(a.y, b.y);
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 ^^^^^^^^^ 411 ^^^^^^^^^
412 severe: line 1227, column 17 of dart:async/stream.dart: [AnalyzerMessage] The me thod '_addError' is not defined for the class 'StreamController' 412 severe: line 1227, column 17 of dart:async/stream.dart: [AnalyzerMessage] The me thod '_addError' is not defined for the class 'StreamController'
413 eventSink._addError(error, stackTrace); // Avoid Zone error replacement. 413 eventSink._addError(error, stackTrace); // Avoid Zone error replacement.
414 ^^^^^^^^^ 414 ^^^^^^^^^
415 severe: line 396, column 30 of dart:async/stream.dart: [AnalyzerMessage] The get ter '_addError' is not defined for the class 'StreamController' 415 severe: line 396, column 30 of dart:async/stream.dart: [AnalyzerMessage] The get ter '_addError' is not defined for the class 'StreamController'
416 onError: eventSink._addError, // Avoid Zone error replacement. 416 onError: eventSink._addError, // Avoid Zone error replacement.
417 ^^^^^^^^^ 417 ^^^^^^^^^
418 warning: line 90, column 25 of dart:async/stream.dart: [DownCastComposite] value (dynamic) will need runtime check to cast to type T 418 warning: line 90, column 25 of dart:async/stream.dart: [DownCastComposite] value (dynamic) will need runtime check to cast to type T
419 controller._add(value); 419 controller._add(value);
420 ^^^^^ 420 ^^^^^
421 warning: line 217, column 41 of dart:async/stream.dart: [DownCastComposite] mapS ink ((EventSink<T>) → EventSink<dynamic>) will need runtime check to cast to typ e (EventSink<dynamic>) → EventSink 421 warning: line 217, column 41 of dart:async/stream.dart: [DownCastComposite] mapS ink ((EventSink<T>) → EventSink<dynamic>) will need runtime check to cast to typ e (EventSink<dynamic>) → EventSink<dynamic>
422 return new _BoundSinkStream(source, mapSink); 422 return new _BoundSinkStream(source, mapSink);
423 ^^^^^^^ 423 ^^^^^^^
424 warning: line 249, column 44 of dart:async/stream.dart: [DownCastComposite] onLi sten ((StreamSubscription<T>) → void) will need runtime check to cast to type (S treamSubscription<dynamic>) → void 424 warning: line 249, column 44 of dart:async/stream.dart: [DownCastComposite] onLi sten ((StreamSubscription<T>) → void) will need runtime check to cast to type (S treamSubscription<dynamic>) → void
425 return new _AsBroadcastStream<T>(this, onListen, onCancel); 425 return new _AsBroadcastStream<T>(this, onListen, onCancel);
426 ^^^^^^^^ 426 ^^^^^^^^
427 warning: line 249, column 54 of dart:async/stream.dart: [DownCastComposite] onCa ncel ((StreamSubscription<T>) → void) will need runtime check to cast to type (S treamSubscription<dynamic>) → void 427 warning: line 249, column 54 of dart:async/stream.dart: [DownCastComposite] onCa ncel ((StreamSubscription<T>) → void) will need runtime check to cast to type (S treamSubscription<dynamic>) → void
428 return new _AsBroadcastStream<T>(this, onListen, onCancel); 428 return new _AsBroadcastStream<T>(this, onListen, onCancel);
429 ^^^^^^^^ 429 ^^^^^^^^
430 warning: line 502, column 24 of dart:async/stream.dart: [DownCastComposite] _can celAndErrorClosure(subscription, result) (dynamic) will need runtime check to ca st to type (dynamic, StackTrace) → dynamic 430 warning: line 502, column 24 of dart:async/stream.dart: [DownCastComposite] _can celAndErrorClosure(subscription, result) (dynamic) will need runtime check to ca st to type (dynamic, StackTrace) → dynamic
431 _cancelAndErrorClosure(subscription, result)); 431 _cancelAndErrorClosure(subscription, result));
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 ^^^^^^^^^^^^^^^^^ 522 ^^^^^^^^^^^^^^^^^
523 warning: line 104, column 15 of dart:async/stream_pipe.dart: [DownCastComposite] outputData (dynamic) will need runtime check to cast to type T 523 warning: line 104, column 15 of dart:async/stream_pipe.dart: [DownCastComposite] outputData (dynamic) will need runtime check to cast to type T
524 sink._add(outputData); 524 sink._add(outputData);
525 ^^^^^^^^^^ 525 ^^^^^^^^^^
526 warning: line 235, column 21 of dart:async/stream_pipe.dart: [DownCastComposite] _transform(inputEvent) (dynamic) will need runtime check to cast to type T 526 warning: line 235, column 21 of dart:async/stream_pipe.dart: [DownCastComposite] _transform(inputEvent) (dynamic) will need runtime check to cast to type T
527 outputEvent = _transform(inputEvent); 527 outputEvent = _transform(inputEvent);
528 ^^^^^^^^^^^^^^^^^^^^^^ 528 ^^^^^^^^^^^^^^^^^^^^^^
529 warning: line 426, column 29 of dart:async/stream_pipe.dart: [DownCastComposite] _previous (Object) will need runtime check to cast to type T 529 warning: line 426, column 29 of dart:async/stream_pipe.dart: [DownCastComposite] _previous (Object) will need runtime check to cast to type T
530 isEqual = _equals(_previous, inputEvent); 530 isEqual = _equals(_previous, inputEvent);
531 ^^^^^^^^^ 531 ^^^^^^^^^
532 warning: line 187, column 18 of dart:async/stream_transformers.dart: [DownCastCo mposite] _sinkMapper ((EventSink<T>) → EventSink<S>) will need runtime check to cast to type (EventSink<dynamic>) → EventSink 532 warning: line 187, column 18 of dart:async/stream_transformers.dart: [DownCastCo mposite] _sinkMapper ((EventSink<T>) → EventSink<S>) will need runtime check to cast to type (EventSink<dynamic>) → EventSink<dynamic>
533 _stream, _sinkMapper, onData, onError, onDone, cancelOnError); 533 _stream, _sinkMapper, onData, onError, onDone, cancelOnError);
534 ^^^^^^^^^^^ 534 ^^^^^^^^^^^
535 warning: line 233, column 15 of dart:async/stream_transformers.dart: [Uninferred Closure] (EventSink<T> outputSink) {if (handleData == null) handleData = _defaul tHandleData; if (handleError == null) handleError = _defaultHandleError; if (han dleDone == null) handleDone = _defaultHandleDone; return new _HandlerEventSink<S , T>(handleData, handleError, handleDone, outputSink);} ((EventSink<T>) → dynami c) will need runtime check to cast to type (EventSink<T>) → EventSink<S> 535 warning: line 233, column 15 of dart:async/stream_transformers.dart: [Uninferred Closure] (EventSink<T> outputSink) {if (handleData == null) handleData = _defaul tHandleData; if (handleError == null) handleError = _defaultHandleError; if (han dleDone == null) handleDone = _defaultHandleDone; return new _HandlerEventSink<S , T>(handleData, handleError, handleDone, outputSink);} ((EventSink<T>) → dynami c) will need runtime check to cast to type (EventSink<T>) → EventSink<S>
536 : super((EventSink<T> outputSink) { 536 : super((EventSink<T> outputSink) {
537 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 537 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
538 warning: line 234, column 48 of dart:async/stream_transformers.dart: [DownCastCo mposite] _defaultHandleData ((dynamic, EventSink<dynamic>) → void) will need run time check to cast to type (S, EventSink<T>) → void 538 warning: line 234, column 48 of dart:async/stream_transformers.dart: [DownCastCo mposite] _defaultHandleData ((dynamic, EventSink<dynamic>) → void) will need run time check to cast to type (S, EventSink<T>) → void
539 if (handleData == null) handleData = _defaultHandleData; 539 if (handleData == null) handleData = _defaultHandleData;
540 ^^^^^^^^^^^^^^^^^^ 540 ^^^^^^^^^^^^^^^^^^
541 warning: line 235, column 50 of dart:async/stream_transformers.dart: [DownCastCo mposite] _defaultHandleError ((dynamic, StackTrace, EventSink<dynamic>) → void) will need runtime check to cast to type (Object, StackTrace, EventSink<T>) → voi d 541 warning: line 235, column 50 of dart:async/stream_transformers.dart: [DownCastCo mposite] _defaultHandleError ((dynamic, StackTrace, EventSink<dynamic>) → void) will need runtime check to cast to type (Object, StackTrace, EventSink<T>) → voi d
542 if (handleError == null) handleError = _defaultHandleError; 542 if (handleError == null) handleError = _defaultHandleError;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 ^^^^^^^^^^^^^^^^^^^^ 639 ^^^^^^^^^^^^^^^^^^^^
640 warning: line 258, column 40 of dart:core/duration.dart: [DownCastImplicit] inMi nutes.remainder(MINUTES_PER_HOUR) (num) will need runtime check to cast to type int 640 warning: line 258, column 40 of dart:core/duration.dart: [DownCastImplicit] inMi nutes.remainder(MINUTES_PER_HOUR) (num) will need runtime check to cast to type int
641 String twoDigitMinutes = twoDigits(inMinutes.remainder(MINUTES_PER_HOUR)); 641 String twoDigitMinutes = twoDigits(inMinutes.remainder(MINUTES_PER_HOUR));
642 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 642 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
643 warning: line 259, column 40 of dart:core/duration.dart: [DownCastImplicit] inSe conds.remainder(SECONDS_PER_MINUTE) (num) will need runtime check to cast to typ e int 643 warning: line 259, column 40 of dart:core/duration.dart: [DownCastImplicit] inSe conds.remainder(SECONDS_PER_MINUTE) (num) will need runtime check to cast to typ e int
644 String twoDigitSeconds = twoDigits(inSeconds.remainder(SECONDS_PER_MINUTE)); 644 String twoDigitSeconds = twoDigits(inSeconds.remainder(SECONDS_PER_MINUTE));
645 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 645 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
646 warning: line 261, column 19 of dart:core/duration.dart: [DownCastImplicit] inMi croseconds.remainder(MICROSECONDS_PER_SECOND) (num) will need runtime check to c ast to type int 646 warning: line 261, column 19 of dart:core/duration.dart: [DownCastImplicit] inMi croseconds.remainder(MICROSECONDS_PER_SECOND) (num) will need runtime check to c ast to type int
647 sixDigits(inMicroseconds.remainder(MICROSECONDS_PER_SECOND)); 647 sixDigits(inMicroseconds.remainder(MICROSECONDS_PER_SECOND));
648 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 648 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
649 warning: line 319, column 22 of dart:core/iterable.dart: [DownCastComposite] (ge nerator != null) ? generator : _id (dynamic) will need runtime check to cast to type (int) → E 649 warning: line 319, column 22 of dart:core/iterable.dart: [DownCastComposite] (ge nerator != null) ? generator : _id (Function) will need runtime check to cast to type (int) → E
650 _generator = (generator != null) ? generator : _id; 650 _generator = (generator != null) ? generator : _id;
651 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 651 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
652 warning: line 121, column 16 of dart:core/list.dart: [DownCastComposite] e (dyna mic) will need runtime check to cast to type E 652 warning: line 121, column 16 of dart:core/list.dart: [DownCastComposite] e (dyna mic) will need runtime check to cast to type E
653 list.add(e); 653 list.add(e);
654 ^ 654 ^
655 warning: line 124, column 12 of dart:core/list.dart: [DownCastComposite] makeLis tFixedLength(list) (List<dynamic>) will need runtime check to cast to type List< E> 655 warning: line 124, column 12 of dart:core/list.dart: [DownCastComposite] makeLis tFixedLength(list) (List<dynamic>) will need runtime check to cast to type List< E>
656 return makeListFixedLength(list); 656 return makeListFixedLength(list);
657 ^^^^^^^^^^^^^^^^^^^^^^^^^ 657 ^^^^^^^^^^^^^^^^^^^^^^^^^
658 warning: line 102, column 12 of dart:core/stopwatch.dart: [DownCastImplicit] (_s top == null) ? (_now() - _start) : (_stop - _start) (num) will need runtime chec k to cast to type int 658 warning: line 102, column 12 of dart:core/stopwatch.dart: [DownCastImplicit] (_s top == null) ? (_now() - _start) : (_stop - _start) (num) will need runtime chec k to cast to type int
659 return (_stop == null) ? (_now() - _start) : (_stop - _start); 659 return (_stop == null) ? (_now() - _start) : (_stop - _start);
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 ^^^^^^^^^ 969 ^^^^^^^^^
970 severe: line 610, column 38 of dart:collection/splay_tree.dart: [AnalyzerMessage ] The getter '_comparator' is not defined for the class '_SplayTree<K>' 970 severe: line 610, column 38 of dart:collection/splay_tree.dart: [AnalyzerMessage ] The getter '_comparator' is not defined for the class '_SplayTree<K>'
971 new SplayTreeSet<K>(setOrMap._comparator, setOrMap._validKey); 971 new SplayTreeSet<K>(setOrMap._comparator, setOrMap._validKey);
972 ^^^^^^^^^^^ 972 ^^^^^^^^^^^
973 warning: line 151, column 12 of dart:collection/splay_tree.dart: [DownCastCompos ite] current (_SplayTreeNode<dynamic>) will need runtime check to cast to type _ SplayTreeNode<K> 973 warning: line 151, column 12 of dart:collection/splay_tree.dart: [DownCastCompos ite] current (_SplayTreeNode<dynamic>) will need runtime check to cast to type _ SplayTreeNode<K>
974 return current; 974 return current;
975 ^^^^^^^ 975 ^^^^^^^
976 warning: line 167, column 12 of dart:collection/splay_tree.dart: [DownCastCompos ite] current (_SplayTreeNode<dynamic>) will need runtime check to cast to type _ SplayTreeNode<K> 976 warning: line 167, column 12 of dart:collection/splay_tree.dart: [DownCastCompos ite] current (_SplayTreeNode<dynamic>) will need runtime check to cast to type _ SplayTreeNode<K>
977 return current; 977 return current;
978 ^^^^^^^ 978 ^^^^^^^
979 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 979 warning: line 265, column 23 of dart:collection/splay_tree.dart: [DownCastCompos ite] (compare == null) ? Comparable.compare : compare (Function) will need runti me check to cast to type (K, K) → int
980 : _comparator = (compare == null) ? Comparable.compare : compare, 980 : _comparator = (compare == null) ? Comparable.compare : compare,
981 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 981 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
982 severe: line 266, column 65 of dart:collection/splay_tree.dart: [InvalidRuntimeC heckError] Invalid runtime check on non-ground type K 982 severe: line 266, column 65 of dart:collection/splay_tree.dart: [InvalidRuntimeC heckError] Invalid runtime check on non-ground type K
983 _validKey = (isValidKey != null) ? isValidKey : ((v) => v is K); 983 _validKey = (isValidKey != null) ? isValidKey : ((v) => v is K);
984 ^^^^^^ 984 ^^^^^^
985 warning: line 275, column 40 of dart:collection/splay_tree.dart: [DownCastCompos ite] v (dynamic) will need runtime check to cast to type V 985 warning: line 275, column 40 of dart:collection/splay_tree.dart: [DownCastCompos ite] v (dynamic) will need runtime check to cast to type V
986 other.forEach((k, v) { result[k] = v; }); 986 other.forEach((k, v) { result[k] = v; });
987 ^ 987 ^
988 warning: line 275, column 35 of dart:collection/splay_tree.dart: [DownCastCompos ite] k (dynamic) will need runtime check to cast to type K 988 warning: line 275, column 35 of dart:collection/splay_tree.dart: [DownCastCompos ite] k (dynamic) will need runtime check to cast to type K
989 other.forEach((k, v) { result[k] = v; }); 989 other.forEach((k, v) { result[k] = v; });
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1035 ^^^^^^^^^^^^^^^^^^ 1035 ^^^^^^^^^^^^^^^^^^
1036 warning: line 628, column 39 of dart:collection/splay_tree.dart: [DownCastCompos ite] node.key (dynamic) will need runtime check to cast to type K 1036 warning: line 628, column 39 of dart:collection/splay_tree.dart: [DownCastCompos ite] node.key (dynamic) will need runtime check to cast to type K
1037 K _getValue(_SplayTreeNode node) => node.key; 1037 K _getValue(_SplayTreeNode node) => node.key;
1038 ^^^^^^^^ 1038 ^^^^^^^^
1039 warning: line 633, column 42 of dart:collection/splay_tree.dart: [DownCastCompos ite] node.value (dynamic) will need runtime check to cast to type V 1039 warning: line 633, column 42 of dart:collection/splay_tree.dart: [DownCastCompos ite] node.value (dynamic) will need runtime check to cast to type V
1040 V _getValue(_SplayTreeMapNode node) => node.value; 1040 V _getValue(_SplayTreeMapNode node) => node.value;
1041 ^^^^^^^^^^ 1041 ^^^^^^^^^^
1042 warning: line 641, column 55 of dart:collection/splay_tree.dart: [DownCastCompos ite] node (_SplayTreeNode<dynamic>) will need runtime check to cast to type _Spl ayTreeNode<K> 1042 warning: line 641, column 55 of dart:collection/splay_tree.dart: [DownCastCompos ite] node (_SplayTreeNode<dynamic>) will need runtime check to cast to type _Spl ayTreeNode<K>
1043 _SplayTreeNode<K> _getValue(_SplayTreeNode node) => node; 1043 _SplayTreeNode<K> _getValue(_SplayTreeNode node) => node;
1044 ^^^^ 1044 ^^^^
1045 warning: line 691, 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 (E, E) → int 1045 warning: line 691, column 23 of dart:collection/splay_tree.dart: [DownCastCompos ite] (compare == null) ? Comparable.compare : compare (Function) will need runti me check to cast to type (E, E) → int
1046 : _comparator = (compare == null) ? Comparable.compare : compare, 1046 : _comparator = (compare == null) ? Comparable.compare : compare,
1047 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1047 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1048 severe: line 692, column 65 of dart:collection/splay_tree.dart: [InvalidRuntimeC heckError] Invalid runtime check on non-ground type E 1048 severe: line 692, column 65 of dart:collection/splay_tree.dart: [InvalidRuntimeC heckError] Invalid runtime check on non-ground type E
1049 _validKey = (isValidKey != null) ? isValidKey : ((v) => v is E); 1049 _validKey = (isValidKey != null) ? isValidKey : ((v) => v is E);
1050 ^^^^^^ 1050 ^^^^^^
1051 warning: line 705, column 29 of dart:collection/splay_tree.dart: [DownCastCompos ite] elements (Iterable<dynamic>) will need runtime check to cast to type Iterab le<E> 1051 warning: line 705, column 29 of dart:collection/splay_tree.dart: [DownCastCompos ite] elements (Iterable<dynamic>) will need runtime check to cast to type Iterab le<E>
1052 for (final E element in elements) { 1052 for (final E element in elements) {
1053 ^^^^^^^^ 1053 ^^^^^^^^
1054 warning: line 723, column 12 of dart:collection/splay_tree.dart: [DownCastCompos ite] _first.key (dynamic) will need runtime check to cast to type E 1054 warning: line 723, column 12 of dart:collection/splay_tree.dart: [DownCastCompos ite] _first.key (dynamic) will need runtime check to cast to type E
1055 return _first.key; 1055 return _first.key;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
1143 ^^^^^^^^^^^^^ 1143 ^^^^^^^^^^^^^
1144 severe: line 134, column 7 of dart:_js_mirrors: [AnalyzerMessage] Missing concre te implementation of getter 'MethodMirror.isSetter', getter 'MethodMirror.isCons tructor', getter 'MethodMirror.isConstConstructor', getter 'MethodMirror.isAbstr act' and 17 more 1144 severe: line 134, column 7 of dart:_js_mirrors: [AnalyzerMessage] Missing concre te implementation of getter 'MethodMirror.isSetter', getter 'MethodMirror.isCons tructor', getter 'MethodMirror.isConstConstructor', getter 'MethodMirror.isAbstr act' and 17 more
1145 class JsMethodMirror implements MethodMirror { 1145 class JsMethodMirror implements MethodMirror {
1146 ^^^^^^^^^^^^^^ 1146 ^^^^^^^^^^^^^^
1147 severe: line 61, column 35 of dart:_js_mirrors: [AnalyzerMessage] The argument t ype 'void' cannot be assigned to the parameter type 'Object' 1147 severe: line 61, column 35 of dart:_js_mirrors: [AnalyzerMessage] The argument t ype 'void' cannot be assigned to the parameter type 'Object'
1148 return new JsInstanceMirror._(field); 1148 return new JsInstanceMirror._(field);
1149 ^^^^^ 1149 ^^^^^
1150 warning: line 171, column 10 of dart:mirrors: [DownCastImplicit] (tm as ClassMir ror).originalDeclaration (TypeMirror) will need runtime check to cast to type Cl assMirror 1150 warning: line 171, column 10 of dart:mirrors: [DownCastImplicit] (tm as ClassMir ror).originalDeclaration (TypeMirror) will need runtime check to cast to type Cl assMirror
1151 return (tm as ClassMirror).originalDeclaration; 1151 return (tm as ClassMirror).originalDeclaration;
1152 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1152 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OLDNEW
« pubspec.yaml ('K') | « tool/patch_sdk.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698