mirror of
https://github.com/dart-lang/sdk
synced 2024-09-23 10:28:32 +00:00
Fix Queue's iterator to allocate an iterator using type parameter. Enable now passing tests.
Review URL: https://codereview.chromium.org//19857010 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25417 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
ff2827c26f
commit
4d0774a448
|
@ -387,7 +387,7 @@ class ListQueue<E> extends IterableBase<E> implements Queue<E> {
|
|||
|
||||
// Iterable interface.
|
||||
|
||||
Iterator<E> get iterator => new _ListQueueIterator(this);
|
||||
Iterator<E> get iterator => new _ListQueueIterator<E>(this);
|
||||
|
||||
void forEach(void action (E element)) {
|
||||
int modificationCount = _modificationCount;
|
||||
|
|
|
@ -62,7 +62,6 @@ LibTest/async/Future/whenComplete_A02_t01: Fail # TODO(dart2dart-team): Please t
|
|||
LibTest/async/Future/whenComplete_A03_t01: Fail # TODO(dart2dart-team): Please triage this failure.
|
||||
LibTest/async/Future/whenComplete_A04_t01: Fail # TODO(dart2dart-team): Please triage this failure.
|
||||
LibTest/async/Future/whenComplete_A04_t02: Fail # TODO(dart2dart-team): Please triage this failure.
|
||||
LibTest/collection/Queue/iterator_A01_t01: Fail # TODO(dart2dart-team): Please triage this failure.
|
||||
LibTest/collection/Queue/iterator_current_A01_t02: Fail # TODO(dart2dart-team): Please triage this failure.
|
||||
LibTest/collection/Queue/iterator_moveNext_A01_t02: Fail # TODO(dart2dart-team): Please triage this failure.
|
||||
LibTest/core/List/List_A01_t02: Fail # TODO(dart2dart-team): Please triage this failure.
|
||||
|
|
|
@ -124,7 +124,6 @@ LibTest/async/Future/whenComplete_A02_t01: Fail # TODO(ahe): Please triage this
|
|||
LibTest/async/Future/whenComplete_A03_t01: Fail # TODO(ahe): Please triage this failure.
|
||||
LibTest/async/Future/whenComplete_A04_t01: Fail # TODO(ahe): Please triage this failure.
|
||||
LibTest/async/Future/whenComplete_A04_t02: Fail # TODO(ahe): Please triage this failure.
|
||||
LibTest/collection/Queue/iterator_A01_t01: Fail # TODO(ahe): Please triage this failure.
|
||||
LibTest/collection/Queue/iterator_current_A01_t02: Fail # TODO(ahe): Please triage this failure.
|
||||
LibTest/collection/Queue/iterator_moveNext_A01_t02: Fail # TODO(ahe): Please triage this failure.
|
||||
LibTest/core/List/List_A01_t02: Fail # TODO(ahe): Please triage this failure.
|
||||
|
|
|
@ -68,7 +68,6 @@ LibTest/async/Future/whenComplete_A02_t01: Fail # TODO(vm-team): Please triage t
|
|||
LibTest/async/Future/whenComplete_A03_t01: Fail # TODO(vm-team): Please triage this failure.
|
||||
LibTest/async/Future/whenComplete_A04_t01: Fail # TODO(vm-team): Please triage this failure.
|
||||
LibTest/async/Future/whenComplete_A04_t02: Fail # TODO(vm-team): Please triage this failure.
|
||||
LibTest/collection/Queue/iterator_A01_t01: Fail # TODO(vm-team): Please triage this failure.
|
||||
LibTest/collection/Queue/iterator_current_A01_t02: Fail # TODO(vm-team): Please triage this failure.
|
||||
LibTest/collection/Queue/iterator_moveNext_A01_t02: Fail # TODO(vm-team): Please triage this failure.
|
||||
LibTest/core/List/List_A01_t02: Fail # TODO(vm-team): Please triage this failure.
|
||||
|
|
Loading…
Reference in a new issue