let-values splicing faulty in interpreter #465

Open
opened 2020-04-20 08:55:55 +00:00 by fare · 0 comments
fare commented 2020-04-20 08:55:55 +00:00 (Migrated from github.com)

The implementation of let-values in src/gerbil/runtime/gx-gambc2.scm fails to support rest arguments in the values list, as in (let-values (((a . b) (values 1 2 3))) [a b]).

This notably prevents an (import :std/srfi/43) from succeeding in the interpreter during bootstrap, but is still generally an issue with let-values in the interpreter beyond bootstrap.

The implementation of `let-values` in `src/gerbil/runtime/gx-gambc2.scm` fails to support rest arguments in the values list, as in `(let-values (((a . b) (values 1 2 3))) [a b])`. This notably prevents an `(import :std/srfi/43)` from succeeding in the interpreter during bootstrap, but is still generally an issue with `let-values` in the interpreter beyond bootstrap.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mighty-gerbils/gerbil#465
No description provided.