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

Unified Diff: test/dart_codegen/expect/async/timer.dart

Issue 1148283010: Remove dart backend (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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 | « test/dart_codegen/expect/async/stream_transformers.dart ('k') | test/dart_codegen/expect/async/zone.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dart_codegen/expect/async/timer.dart
diff --git a/test/dart_codegen/expect/async/timer.dart b/test/dart_codegen/expect/async/timer.dart
deleted file mode 100644
index 8912b46da1915f46a938cf463a6ae79f3df59e89..0000000000000000000000000000000000000000
--- a/test/dart_codegen/expect/async/timer.dart
+++ /dev/null
@@ -1,22 +0,0 @@
-part of dart.async;
- abstract class Timer {factory Timer(Duration duration, void callback()) {
- if (Zone.current == Zone.ROOT) {
- return Zone.current.createTimer(duration, callback);
- }
- return Zone.current.createTimer(duration, Zone.current.bindCallback(callback, runGuarded: true));
- }
- factory Timer.periodic(Duration duration, void callback(Timer timer)) {
- if (Zone.current == Zone.ROOT) {
- return Zone.current.createPeriodicTimer(duration, callback);
- }
- return Zone.current.createPeriodicTimer(duration, ((__x78) => DEVC$RT.cast(__x78, ZoneUnaryCallback, __CastType76, "CompositeCast", """line 80, column 19 of dart:async/timer.dart: """, __x78 is __CastType76, false))(Zone.current.bindUnaryCallback(callback, runGuarded: true)));
- }
- static void run(void callback()) {
- new Timer(Duration.ZERO, callback);
- }
- void cancel();
- bool get isActive;
- external static Timer _createTimer(Duration duration, void callback());
- external static Timer _createPeriodicTimer(Duration duration, void callback(Timer timer));
-}
- typedef void __CastType76(Timer __u77);
« no previous file with comments | « test/dart_codegen/expect/async/stream_transformers.dart ('k') | test/dart_codegen/expect/async/zone.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698