gerbil icon indicating copy to clipboard operation
gerbil copied to clipboard

let-values splicing faulty in interpreter

Open fare opened this issue 5 years ago • 0 comments

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.

fare avatar Apr 20 '20 08:04 fare