Index: sdk/lib/async/timer.dart |
diff --git a/sdk/lib/async/timer.dart b/sdk/lib/async/timer.dart |
index d4199a3ba7354b9abf1d53a11478897dc4435b11..33bbb47dcffff28caf0d4580df6aa1616d03f542 100644 |
--- a/sdk/lib/async/timer.dart |
+++ b/sdk/lib/async/timer.dart |
@@ -61,7 +61,7 @@ abstract class Timer { |
_runCallbacks = []; |
i++; // Skip the current; |
_runCallbacks.addAll( |
- runCallbacks.getRange(i, runCallbacks.length - i)); |
+ runCallbacks.sublist(i)); |
_runCallbacks.addAll(newCallbacks); |
throw; |
} |