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

Unified Diff: tests/language/store_to_load_forwarding_phis_vm_test.dart

Issue 14070010: Refactor Future constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added co19 issue number. Created 7 years, 8 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 | « tests/html/websql_test.dart ('k') | tests/lib/async/future_constructor_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/store_to_load_forwarding_phis_vm_test.dart
diff --git a/tests/language/store_to_load_forwarding_phis_vm_test.dart b/tests/language/store_to_load_forwarding_phis_vm_test.dart
index 13654a6d1d3aa74d7bbba64be287fcb9744435cb..72ee9b3c62e46068257ab0f0dfac9e50b4750dce 100644
--- a/tests/language/store_to_load_forwarding_phis_vm_test.dart
+++ b/tests/language/store_to_load_forwarding_phis_vm_test.dart
@@ -22,7 +22,7 @@ class A {
foo(obj) {
var a = obj.foo;
- return new Future.immediate(null).then((val) { });
+ return new Future.value().then((val) { });
}
main() {
« no previous file with comments | « tests/html/websql_test.dart ('k') | tests/lib/async/future_constructor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698