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

Side by Side Diff: pkg/front_end/testcases/async_function.dart

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 'dart:async'; 4 import 'dart:async';
5 5
6 Future<String> asyncString() async { 6 Future<String> asyncString() async {
7 return "foo"; 7 return "foo";
8 } 8 }
9 9
10 Future<String> asyncString2() async { 10 Future<String> asyncString2() async {
(...skipping 18 matching lines...) Expand all
29 29
30 Stream<String> asyncStarString2() async* { 30 Stream<String> asyncStarString2() async* {
31 yield "bar"; 31 yield "bar";
32 } 32 }
33 33
34 List<String> stringList = ["bar"]; 34 List<String> stringList = ["bar"];
35 35
36 main() async { 36 main() async {
37 String str = await asyncString(); 37 String str = await asyncString();
38 } 38 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/arithmetic.dart.strong.expect ('k') | pkg/front_end/testcases/async_function.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698