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

Side by Side Diff: tests/compiler/dart2js_extra/22868_test.dart

Issue 1281813002: Delete dart2js_extra/22895.dart; it is nearly identical to /dart2js_extra/22868_test.dart. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Extend comment to mention other bug. Created 5 years, 4 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
« no previous file with comments | « no previous file | tests/compiler/dart2js_extra/22895_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 4
5 // Regression test for http://dartbug.com/22868/ 5 // Regression test for http://dartbug.com/22868/ and http://dartbug.com/22895/.
6 // Ensure that the closure tracer properly handles await. 6 // Ensure that the closure tracer properly handles await.
7 7
8 main() async { 8 main() async {
9 var closures = [(x, y) => x + y]; 9 var closures = [(x, y) => x + y];
10 print(((await closures)[0])(4, 2)); 10 print(((await closures)[0])(4, 2));
11 } 11 }
12
OLDNEW
« no previous file with comments | « no previous file | tests/compiler/dart2js_extra/22895_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698