Index: corelib/src/implementation/queue.dart |
=================================================================== |
--- corelib/src/implementation/queue.dart (revision 2395) |
+++ corelib/src/implementation/queue.dart (working copy) |
@@ -102,9 +102,8 @@ |
_sentinel = new _DoubleLinkedQueueEntrySentinel<E>(); |
} |
- // See issue 417. Works in the vm, fails in dartc and frog. |
- factory DoubleLinkedQueue.from(Iterable/*<E>*/ other) { |
- Queue/*<E>*/ list = new DoubleLinkedQueue(); |
+ factory DoubleLinkedQueue.from(Iterable<E> other) { |
+ Queue<E> list = new DoubleLinkedQueue(); |
for (final e in other) { |
list.addLast(e); |
} |