mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 13:30:26 +02:00
fix error in frame-return-values
* module/system/vm/frame.scm (frame-return-values): Fix off-by-one error.
This commit is contained in:
parent
4388818adb
commit
d608db1d59
1 changed files with 1 additions and 1 deletions
|
@ -157,5 +157,5 @@
|
|||
(let* ((len (frame-num-locals frame))
|
||||
(nvalues (frame-local-ref frame (1- len))))
|
||||
(map (lambda (i)
|
||||
(frame-local-ref frame (+ (- len nvalues) i)))
|
||||
(frame-local-ref frame (+ (- len nvalues 1) i)))
|
||||
(iota nvalues))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue