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

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

Issue 1059763003: Inference casts to dynamic, fuzzy types handled (Closed) Base URL: git@github.com:dart-lang/dart-dev-compiler.git@master
Patch Set: Created 5 years, 9 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 13507a58a2a5e2c52dd6a890fa97261116695043..918ccfc963ed5a9ad14b49997c6df1901800abd3 100644
--- a/test/dart_codegen/expect/async/timer.dart
+++ b/test/dart_codegen/expect/async/timer.dart
@@ -9,7 +9,7 @@ part of dart.async;
if (Zone.current == Zone.ROOT) {
return Zone.current.createPeriodicTimer(duration, callback);
}
- return Zone.current.createPeriodicTimer(duration, ((__x104) => DEVC$RT.cast(__x104, __t102, __t100, "CompositeCast", """line 80, column 19 of dart:async/timer.dart: """, __x104 is __t100, false))(Zone.current.bindUnaryCallback(callback, runGuarded: true)));
+ return Zone.current.createPeriodicTimer(duration, ((__x97) => DEVC$RT.cast(__x97, __t95, __t93, "CompositeCast", """line 80, column 19 of dart:async/timer.dart: """, __x97 is __t93, false))(Zone.current.bindUnaryCallback(callback, runGuarded: true)));
}
static void run(void callback()) {
new Timer(Duration.ZERO, callback);
@@ -19,5 +19,5 @@ part of dart.async;
external static Timer _createTimer(Duration duration, void callback());
external static Timer _createPeriodicTimer(Duration duration, void callback(Timer timer));
}
- typedef void __t100(Timer __u101);
- typedef dynamic __t102(dynamic __u103);
+ typedef void __t93(Timer __u94);
+ typedef dynamic __t95(dynamic __u96);

Powered by Google App Engine
This is Rietveld 408576698