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

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

Issue 959003003: Typecheck constructor initializers properly (Closed) Base URL: https://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 b56adc302420b1d1bb9f42f70a57a8461846abba..7f7c528f33fbc5c08be4aae6a670c2a2ecdb9acc 100644
--- a/test/dart_codegen/expect/async/timer.dart
+++ b/test/dart_codegen/expect/async/timer.dart
@@ -9,11 +9,11 @@ part of dart.async;
if (Zone.current == Zone.ROOT) {
return Zone.current.createPeriodicTimer(duration, callback);
}
- return Zone.current.createPeriodicTimer(duration, Zone.current.bindUnaryCallback(DDC$RT.wrap((void f(Timer __u126)) {
+ return Zone.current.createPeriodicTimer(duration, Zone.current.bindUnaryCallback(DDC$RT.wrap((void f(Timer __u131)) {
void c(Timer x0) => f(DDC$RT.cast(x0, dynamic, Timer, "CastParam", """line 80, column 50 of dart:async/timer.dart: """, x0 is Timer, true));
return f == null ? null : c;
}
- , callback, __t129, __t127, "Wrap", """line 80, column 50 of dart:async/timer.dart: """, callback is __t127), runGuarded: true));
+ , callback, __t134, __t132, "Wrap", """line 80, column 50 of dart:async/timer.dart: """, callback is __t132), runGuarded: true));
}
static void run(void callback()) {
new Timer(Duration.ZERO, callback);
@@ -23,5 +23,5 @@ part of dart.async;
external static Timer _createTimer(Duration duration, void callback());
external static Timer _createPeriodicTimer(Duration duration, void callback(Timer timer));
}
- typedef dynamic __t127(dynamic __u128);
- typedef void __t129(Timer __u130);
+ typedef dynamic __t132(dynamic __u133);
+ typedef void __t134(Timer __u135);

Powered by Google App Engine
This is Rietveld 408576698