Commit c34eb5e
Fix tests
The anazlyer is now detecting variables within arithmetic expressions,
but still not let, postfix, or binary expressions
So a rename on
```
for i in 1 2 3; do
echo "$i"
done
let i=0
for (( ; i < 10; i++)); do
echo "$((2 * i))"
done
```
Would be changed to
```
for new_name in 1 2 3; do
echo "$new_name"
done
let i=0
for (( ; i < 10; i++)); do
echo "$((2 * new_name))"
done
```1 parent 4025983 commit c34eb5e
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1431 | 1431 | | |
1432 | 1432 | | |
1433 | 1433 | | |
1434 | | - | |
1435 | 1434 | | |
1436 | 1435 | | |
1437 | 1436 | | |
| |||
1741 | 1740 | | |
1742 | 1741 | | |
1743 | 1742 | | |
1744 | | - | |
| 1743 | + | |
1745 | 1744 | | |
1746 | | - | |
| 1745 | + | |
1747 | 1746 | | |
1748 | 1747 | | |
1749 | 1748 | | |
| |||
0 commit comments