The "tmpobj" variable was overwriten because the interpreter (contrary to rust and C++) don't have scopes for the local variables, and local variable of the same name would conflict.
(I think this could in theory be a problem in C++ and rust although i haven't reproduced it)
Other uses of StoreLocalVariable also make the number unique with a counter
… struct
The "tmpobj" variable was overwriten because the interpreter (contrary to rust and C++) don't have scopes for the local variables, and local variable of the same name would conflict. (I think this could in theory be a problem in C++ and rust although i haven't reproduced it)
Other uses of StoreLocalVariable also make the number unique with a counter
Fixes #6721