Skip to content

Commit 04b4860

Browse files
committed
Merge branch 'master' of github.com:bamboo/unityscript into upstream
2 parents cf4166e + 59351c9 commit 04b4860

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/parser/for-each-in-2.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def each(each as Object):
99
each = 'Test'
1010
1111
for each in (1, 2, 3):
12-
print(i)
12+
print(each)
1313
*/
1414

1515
enum Options {
@@ -21,4 +21,4 @@ function each(each: Object) {
2121

2222
var each = "Test";
2323
for each (var each in [1, 2, 3])
24-
print (i);
24+
print(each);

0 commit comments

Comments
 (0)