Hello,
I saw that when an duplicate /goto is into an code and i have the :error inside it does not goto :error but return an error message, here the wrong think is that it should goto into the :error because it is an scripting error and it should fill the $error too, take an example to reproduce it.
Example code:
alias dtest {
echo -a ONE
:next
echo -a TWO
:next
echo -a THREE
return
:error
echo 4 -a ERROR: $nopath($script) $scriptline $error
reseterror
}
Error Message: * /goto: duplicate 'next' found (line 20, test.mrc)
- Thanks!