Closed patrikturi closed 8 years ago
The following python code
def clear(): grid = [] for i in range(0, config.SIZE): grid.append(0)
maps to
function clear() { grid = []; for (i in range(0, config.SIZE)) { grid.push(0; }); }
This happens with while loops as well. Do you know any workaround?
Hi @Dimitri0xff,
Thanks for finding this issue! I've pushed a new release to PYPI 1.2.1 which is available for download now and resolves this problem.
1.2.1
Thanks!
~Timothy
The following python code
maps to
This happens with while loops as well. Do you know any workaround?