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

Side by Side Diff: test/kernel/regression/for_loop.dart

Issue 2070143002: Track void context. (Closed) Base URL: git@github.com:dart-lang/rasta.git@visit_for_value
Patch Set: Merged with ad52721ca12cbb5c47e968ae2070408e1fef7017 Created 4 years, 6 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 | « test/kernel/kernel_test.dart ('k') | test/kernel/regression/for_loop.dart.txt » ('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) 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 main() { 5 main() {
6 try { 6 int c = new DateTime.now().millisecondsSinceEpoch;
7 print(42); 7 for (int i = 0; i < 100; i++) {
8 } finally { 8 print(i++);
9 print(87); 9 }
10 for (int i = 0; i < 100; c < 42 ? throw "fisk" : i++) {
11 print(i++);
10 } 12 }
11 } 13 }
OLDNEW
« no previous file with comments | « test/kernel/kernel_test.dart ('k') | test/kernel/regression/for_loop.dart.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698