Index: lib/async/async_patch.dart |
diff --git a/lib/async/async_patch.dart b/lib/async/async_patch.dart |
index 5ecbaff8c5138996acc042f57124189ca7b37fd6..f3bc3c91f2b43c8cd1a65d426165bdb9d5d1c0f9 100644 |
--- a/lib/async/async_patch.dart |
+++ b/lib/async/async_patch.dart |
@@ -3,12 +3,11 @@ |
// BSD-style license that can be found in the LICENSE.md file. |
import 'dart:fletch._system' as fletch; |
+import 'dart:fletch._system' show patch; |
import 'dart:fletch'; |
import 'dart:fletch.os' as os; |
import 'dart:math'; |
-const patch = "patch"; |
- |
Channel _eventQueue; |
int _numberOfEvents = 0; |
@@ -115,3 +114,7 @@ class _FletchTimer implements Timer { |
milliseconds); |
} |
} |
+ |
+@patch void _rethrow(Object error, StackTrace stackTrace) { |
+ throw new AsyncError(error, stackTrace); |
+} |