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

Unified Diff: test/dart_codegen/expect/async/timer.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 side-by-side diff with in-line comments
Download patch
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
index 74c8583ad362376cbc438bc05ddc34a996b96693..c0bd9c9726bbc026ddb186ccd40d774eb2725b13 100644
--- a/test/dart_codegen/expect/async/timer.dart
+++ b/test/dart_codegen/expect/async/timer.dart
@@ -27,19 +27,19 @@ abstract class Timer {
}
void cancel();
bool get isActive;
- @patch static Timer _createTimer(Duration duration, void callback()) {
+ static Timer _createTimer(Duration duration, void callback()) {
int milliseconds = duration.inMilliseconds;
if (milliseconds < 0) milliseconds = 0;
return ((__x131) => DDC$RT.cast(__x131, dynamic, Timer, "CastExact",
- """line 111, column 12 of dart:async/timer.dart: """, __x131 is Timer,
+ """line 110, column 12 of dart:async/timer.dart: """, __x131 is Timer,
true))(new TimerImpl(milliseconds, callback));
}
- @patch static Timer _createPeriodicTimer(
+ static Timer _createPeriodicTimer(
Duration duration, void callback(Timer timer)) {
int milliseconds = duration.inMilliseconds;
if (milliseconds < 0) milliseconds = 0;
return ((__x132) => DDC$RT.cast(__x132, dynamic, Timer, "CastExact",
- """line 118, column 12 of dart:async/timer.dart: """, __x132 is Timer,
+ """line 116, column 12 of dart:async/timer.dart: """, __x132 is Timer,
true))(new TimerImpl.periodic(milliseconds, callback));
}
}
« no previous file with comments | « test/dart_codegen/expect/async/schedule_microtask.dart ('k') | test/dart_codegen/expect/collection/hash_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698