Skip to content

Commit

Permalink
[nnbd/collection] fix infinite loop in nnbd sdk
Browse files Browse the repository at this point in the history
See https://dart-ci.appspot.com/log/ddc-nnbd-linux-release-chrome/dartdevk-weak-linux-release-chrome/1460/corelib_2/collection_of_test

Change-Id: I5575cb1db89985f5dc84343412835cccc54b9d47
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/132160
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Vijay Menon <vsm@google.com>
  • Loading branch information
vsmenon authored and commit-bot@chromium.org committed Jan 16, 2020
1 parent 8a947de commit 05632be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk_nnbd/lib/collection/queue.dart
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ abstract class _DoubleLinkedQueueEntry<E> extends DoubleLinkedQueueEntry<E> {

E _remove();

E get _element => element;
E get _element => super._element as E;

DoubleLinkedQueueEntry<E> nextEntry() {
_DoubleLinkedQueueEntry<E> entry = _nextLink as _DoubleLinkedQueueEntry<E>;
Expand Down

0 comments on commit 05632be

Please sign in to comment.