Currently renaming variables is broken, especially for loop variables. The trouble lies where normal variables are renamed so they conflict with existing variables:
local something = "HELLO"
local a = "HELLO"
for t=1,10 do print(a) end
becomes:
local t = "HELLO"
for t=1,10 do print(t) end
The second loop is broken. We could fix this with a proper set of nodes maybe?
What is happening is something is converted to e. Then e is converted to t for some reason?
Currently renaming variables is broken, especially for loop variables. The trouble lies where normal variables are renamed so they conflict with existing variables:
becomes:
The second loop is broken. We could fix this with a proper set of nodes maybe?
What is happening is
something
is converted toe
. Thene
is converted tot
for some reason?