Skip to content

Commit 7993de5

Browse files
zaruckitalevy
authored andcommitted
Misleading incorrect for in loop. (#27195)
1 parent 8bbedf5 commit 7993de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/painless/painless-syntax.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Painless also supports the `for in` syntax from Groovy:
1414

1515
[source,painless]
1616
---------------------------------------------------------
17-
for (item : list) {
17+
for (def item : list) {
1818
...
1919
}
2020
---------------------------------------------------------

0 commit comments

Comments
 (0)