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

Unified Diff: pkg/fasta/test/for_in_scope.dart

Issue 2642713002: Implement correct scope of for-in expression. (Closed)
Patch Set: Add comment to status files. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/fasta/test/compile.status ('k') | pkg/fasta/test/for_in_scope.dart.direct.expect » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fasta/test/for_in_scope.dart
diff --git a/pkg/fasta/test/for_in_scope.dart b/pkg/fasta/test/for_in_scope.dart
new file mode 100644
index 0000000000000000000000000000000000000000..86fb4cf1444b91ad49158416e1f37f75f4aa8a2f
--- /dev/null
+++ b/pkg/fasta/test/for_in_scope.dart
@@ -0,0 +1,9 @@
+// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+main(List<String> arguments) {
+ for (String arguments in arguments) {
+ print(arguments);
+ }
+}
« no previous file with comments | « pkg/fasta/test/compile.status ('k') | pkg/fasta/test/for_in_scope.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698