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

Side by Side Diff: test/dart_codegen/expect/async/schedule_microtask.dart

Issue 959913003: cleanup patch generation to preseve comments and remove @patch (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 part of dart.async; 1 part of dart.async;
2 2
3 typedef void _AsyncCallback(); 3 typedef void _AsyncCallback();
4 class _AsyncCallbackEntry { 4 class _AsyncCallbackEntry {
5 final _AsyncCallback callback; 5 final _AsyncCallback callback;
6 _AsyncCallbackEntry next; 6 _AsyncCallbackEntry next;
7 _AsyncCallbackEntry(this.callback); 7 _AsyncCallbackEntry(this.callback);
8 } 8 }
9 _AsyncCallbackEntry _nextCallback; 9 _AsyncCallbackEntry _nextCallback;
10 _AsyncCallbackEntry _lastCallback; 10 _AsyncCallbackEntry _lastCallback;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 _rootScheduleMicrotask(null, null, DDC$RT.cast(_ROOT_ZONE, dynamic, Zone, 63 _rootScheduleMicrotask(null, null, DDC$RT.cast(_ROOT_ZONE, dynamic, Zone,
64 "CastGeneral", 64 "CastGeneral",
65 """line 130, column 40 of dart:async/schedule_microtask.dart: """, 65 """line 130, column 40 of dart:async/schedule_microtask.dart: """,
66 _ROOT_ZONE is Zone, true), callback); 66 _ROOT_ZONE is Zone, true), callback);
67 return; 67 return;
68 } 68 }
69 Zone.current 69 Zone.current
70 .scheduleMicrotask(Zone.current.bindCallback(callback, runGuarded: true)); 70 .scheduleMicrotask(Zone.current.bindCallback(callback, runGuarded: true));
71 } 71 }
72 class _AsyncRun { 72 class _AsyncRun {
73 @patch static void _scheduleImmediate(void callback()) { 73 static void _scheduleImmediate(void callback()) {
74 scheduleImmediateClosure(callback); 74 scheduleImmediateClosure(callback);
75 } 75 }
76 } 76 }
OLDNEW
« no previous file with comments | « test/dart_codegen/expect/async/deferred_load.dart ('k') | test/dart_codegen/expect/async/timer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698