From 7a1b7bc48596207477c24a93368b431bd0746dcb Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Mon, 4 May 2020 22:37:49 +0200 Subject: [PATCH] Fix baseline compilation of let-values and prompt * module/language/tree-il/compile-bytecode.scm (compile-closure): Fix fold invocation for visit-values-handler. --- module/language/tree-il/compile-bytecode.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/language/tree-il/compile-bytecode.scm b/module/language/tree-il/compile-bytecode.scm index e2eaabfcc..f9c7221e5 100644 --- a/module/language/tree-il/compile-bytecode.scm +++ b/module/language/tree-il/compile-bytecode.scm @@ -819,7 +819,7 @@ in the frame with for the lambda-case clause @var{clause}." (when (env-boxed? env) (emit-box asm (env-idx env) (env-idx env))) env)) - names syms env)) + env names syms)) (let ((proc-slot (stack-height env)) (nreq (length req))) (unless (and rest (zero? nreq))