Commit b9f5b36
committed
Fix pipeline operator when called in a loop
The previous implementation would mutate the expr args, but the expr is shared between the loop iterations, so the second iteration would use the mutated args from the first iteration.
Now, it creates a new expr for each iteration.1 parent 15ff235 commit b9f5b36
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
243 | 245 | | |
244 | 246 | | |
245 | 247 | | |
| |||
0 commit comments