Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: lib/async/async_patch.dart

Issue 1450393002: Roll sdk dependency to 34357cdad108dcba734949bd13bd28c76ea285e0 (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
+}

Powered by Google App Engine
This is Rietveld 408576698