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

Side by Side Diff: tests/language/logical_expression_test.dart

Issue 177293002: Version 1.2.0-dev.5.15 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 years, 10 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 | « tests/compiler/dart2js/logical_expression_test.dart ('k') | tools/VERSION » ('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 // Dart test program for testing if statement. 4 // Dart test program for testing if statement.
5 5
6 import "package:expect/expect.dart"; 6 import "package:expect/expect.dart";
7 7
8 // For logical-or conditions dart2js sometimes inlined expressions, leading to 8 // For logical-or conditions dart2js sometimes inlined expressions, leading to
9 // completely broken programs. 9 // completely broken programs.
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 if (list == null && globalList.contains(1)) globalList.add(3); 110 if (list == null && globalList.contains(1)) globalList.add(3);
111 } 111 }
112 112
113 main() { 113 main() {
114 testLogicalOr(); 114 testLogicalOr();
115 testLogicalOr2(); 115 testLogicalOr2();
116 116
117 testLogicalAnd(); 117 testLogicalAnd();
118 testLogicalAnd2(); 118 testLogicalAnd2();
119 } 119 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/logical_expression_test.dart ('k') | tools/VERSION » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698