| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 import "package:expect/expect.dart"; | 4 import "package:expect/expect.dart"; |
| 5 import "package:async_helper/async_helper.dart"; | 5 import "package:async_helper/async_helper.dart"; |
| 6 | 6 |
| 7 @NoInline() | 7 @NoInline() |
| 8 @AssumeDynamic() | 8 @AssumeDynamic() |
| 9 confuse(x) { | 9 confuse(x) { |
| 10 return x; | 10 return x; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 79 |
| 80 test() async { | 80 test() async { |
| 81 await test1(); | 81 await test1(); |
| 82 await test2(); | 82 await test2(); |
| 83 } | 83 } |
| 84 | 84 |
| 85 main() { | 85 main() { |
| 86 asyncStart(); | 86 asyncStart(); |
| 87 test().then((_) => asyncEnd()); | 87 test().then((_) => asyncEnd()); |
| 88 } | 88 } |
| OLD | NEW |