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

Unified Diff: tests/language/async_test.dart

Issue 814343004: First step in eliminating —enable_async flag (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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: tests/language/async_test.dart
===================================================================
--- tests/language/async_test.dart (revision 42668)
+++ tests/language/async_test.dart (working copy)
@@ -2,7 +2,6 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// VMOptions=--enable_async
import 'package:expect/expect.dart';
@@ -96,9 +95,9 @@
asyncReturn.then((A result) => Expect.equals(result.value, 22));
var foo = 17;
- bar(int p1, p2) async {
+ bar(int p1, p2) async {
var z = 8;
- return p2 + z + foo;
+ return p2 + z + foo;
}
asyncReturn = bar(1,2);
Expect.isTrue(asyncReturn is Future);
« no previous file with comments | « tests/language/async_control_structures_test.dart ('k') | tests/language/await_backwards_compatibility_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698