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

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

Issue 1088493002: Assignment expressions in tree IR. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Comments Created 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/compiler/lib/src/cps_ir/cps_ir_nodes.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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 const TestSpec(''' 278 const TestSpec('''
279 main(a) { 279 main(a) {
280 if (a) { 280 if (a) {
281 a = ""; 281 a = "";
282 } 282 }
283 print(a); 283 print(a);
284 return a; 284 return a;
285 } 285 }
286 ''', ''' 286 ''', '''
287 main(a) { 287 main(a) {
288 a = a ? "" : a; 288 print(a = a ? "" : a);
289 print(a);
290 return a; 289 return a;
291 } 290 }
292 '''), 291 '''),
293 ]), 292 ]),
294 293
295 const Group('Dynamic access', const <TestSpec>[ 294 const Group('Dynamic access', const <TestSpec>[
296 const TestSpec(''' 295 const TestSpec('''
297 main(a) { 296 main(a) {
298 return a.foo; 297 return a.foo;
299 } 298 }
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 main() { 905 main() {
907 try { 906 try {
908 return null; 907 return null;
909 } catch (e, v0) { 908 } catch (e, v0) {
910 return null; 909 return null;
911 } 910 }
912 } 911 }
913 '''), 912 '''),
914 ]), 913 ]),
915 ]; 914 ];
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698