Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/util/link.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/util/link.dart b/sdk/lib/_internal/compiler/implementation/util/link.dart |
| index d16ae6cce472e95d0d84ea50550cddc5727eeacc..8a5674a43fb32456240769b568138809957991b3 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/util/link.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/util/link.dart |
| @@ -49,6 +49,10 @@ class Link<T> extends Iterable<T> { |
| return this.prepend(from.head).reversePrependAll(from.tail); |
| } |
| + Link<T> skip(int n) { |
|
ahe
2013/01/09 13:35:46
if (n == 0) return this;
Johnni Winther
2013/01/09 14:29:11
Done.
|
| + throw new RangeError('No more elements'); |
| + } |
| + |
| void forEach(void f(T element)) {} |
| bool operator ==(other) { |