mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 20:00:19 +02:00
Fix compilation of prompt in tail context
* module/language/tree-il/compile-bytecode.scm (compile-closure): Compile body of prompt in values-at context at the frame base, not the current env.
This commit is contained in:
parent
b99a63447b
commit
f9c9e71046
1 changed files with 1 additions and 1 deletions
|
@ -850,7 +850,7 @@ in the frame with for the lambda-case clause @var{clause}."
|
|||
('tail
|
||||
;; Would be nice if we could invoke the body in true tail
|
||||
;; context, but that's not how it currently is.
|
||||
(for-values body env)
|
||||
(for-values-at body env (frame-base env))
|
||||
(emit-unwind asm)
|
||||
(emit-return-values asm))
|
||||
(_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue