Skip command doesn't do anything when it reaches a return node, without warning anyone. So, the skipUpTo command enters an infinite loop because it doesn't know it should stop.
A return node shouldn't be skipped so it's ok not to skip it but it should signal a warning so that the skipUpTo command stops and so that the user knows what it is.
Skip command doesn't do anything when it reaches a return node, without warning anyone. So, the skipUpTo command enters an infinite loop because it doesn't know it should stop.
A return node shouldn't be skipped so it's ok not to skip it but it should signal a warning so that the skipUpTo command stops and so that the user knows what it is.