f05fdbd85146 — Leonard Ritter a month ago
* fixed crash when passing arguments in reverse into `va-range`
1 files changed, 1 insertions(+), 0 deletions(-)

M lib/scopes/core.sc
M lib/scopes/core.sc +1 -0
@@ 5911,6 5911,7 @@ define va-range
                 hide-traceback;
                 error "too many elements specified for range"
             let count = (b - a)
+            let count = (? (count < 0) 0 count)
             sc_argument_list_map_new count
                 inline (i)
                     let i = (i + a)