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

Side by Side Diff: pkg/analyzer2dart/test/end2end_data.dart

Issue 864293004: Add a shrinking reduction for dead continuation parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporated review comments. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/analyzer2dart/test/sexpr_data.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 /// Test data for the end2end test. 5 /// Test data for the end2end test.
6 library test.end2end.data; 6 library test.end2end.data;
7 7
8 import 'test_helper.dart'; 8 import 'test_helper.dart';
9 9
10 class TestSpec extends TestSpecBase { 10 class TestSpec extends TestSpecBase {
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 753
754 const TestSpec(''' 754 const TestSpec('''
755 main(a) { 755 main(a) {
756 var i; 756 var i;
757 for (i in a) { 757 for (i in a) {
758 print(i); 758 print(i);
759 } 759 }
760 } 760 }
761 ''', ''' 761 ''', '''
762 main(a) { 762 main(a) {
763 var i, v0 = a.iterator; 763 var v0 = a.iterator;
764 while (v0.moveNext()) { 764 while (v0.moveNext()) {
765 print(v0.current); 765 print(v0.current);
766 } 766 }
767 } 767 }
768 '''), 768 '''),
769 ]), 769 ]),
770 770
771 const Group('Local functions', const <TestSpec>[ 771 const Group('Local functions', const <TestSpec>[
772 const TestSpec(''' 772 const TestSpec('''
773 main(a) { 773 main(a) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 main(a) { 811 main(a) {
812 return (a ? () { 812 return (a ? () {
813 return 0; 813 return 0;
814 } : () { 814 } : () {
815 return 1; 815 return 1;
816 })(); 816 })();
817 } 817 }
818 '''), 818 '''),
819 ]), 819 ]),
820 ]; 820 ];
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer2dart/test/sexpr_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698