On Wed Jun 7 20:33:38 2023 +0000, Giovanni Mascellani wrote:
Oh right, so maybe you want to `return true`. My point was mostly about returning, so that later code can assume that variables are in a sane state.
The problem with returning true here is that we still want this function call to return a void-typed expression. That might need to be an OP0_ERROR, which we don't have the infrastructure for yet. But as far as I can tell it should be fine to break out of the loop here, and the code should be able to handle the argument count being wrong as well without crashing either.