Hi CG Staff.
Just wanted to point out an issue with the stub generator. If the generator code is:
read n:int
loopline n number:int
in Bash this is produced:
read n
for (( i=0; i<n; i++ )); do
read number
done
when it should be something like this:
read n
read -a inputs
for (( i=0; i<n; i++ )); do
number=${inputs[i]}
done
The first code snippit reads n entire lines, where the second reads a single line of n space separated integers (as intended).
I think that this should be fixed, since it works properly for every other language as far as I can tell.