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

Unified Diff: runtime/lib/schedule_microtask_patch.dart

Issue 2230383003: Implement @patch annotation for patch class members (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: wip Created 4 years, 4 months 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
« no previous file with comments | « runtime/lib/resource_patch.dart ('k') | runtime/lib/stopwatch_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/schedule_microtask_patch.dart
diff --git a/runtime/lib/schedule_microtask_patch.dart b/runtime/lib/schedule_microtask_patch.dart
index 9384c1ecb01c860d28f8ae096db5d0f8ac455c70..739f1f8351e8a98fc0f8a74fa0c728fd83a0e12c 100644
--- a/runtime/lib/schedule_microtask_patch.dart
+++ b/runtime/lib/schedule_microtask_patch.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
@patch class _AsyncRun {
- /* @patch */ static void _scheduleImmediate(void callback()) {
+ @patch static void _scheduleImmediate(void callback()) {
if (_ScheduleImmediate._closure == null) {
throw new UnsupportedError("Microtasks are not supported");
}
« no previous file with comments | « runtime/lib/resource_patch.dart ('k') | runtime/lib/stopwatch_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698