mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Fix kw initializer bug in baseline compiler
* module/language/tree-il/compile-bytecode.scm (compile-closure): The first sym has index 1, not 0, because of the closure.
This commit is contained in:
parent
dd4dc1f6c4
commit
b99a63447b
1 changed files with 1 additions and 1 deletions
|
@ -1303,7 +1303,7 @@ in the frame with for the lambda-case clause @var{clause}."
|
||||||
(values aok?
|
(values aok?
|
||||||
(map (match-lambda
|
(map (match-lambda
|
||||||
((key name sym)
|
((key name sym)
|
||||||
(cons key (list-index syms sym))))
|
(cons key (1+ (list-index syms sym)))))
|
||||||
kw)))))
|
kw)))))
|
||||||
(lambda (allow-other-keys? kw-indices)
|
(lambda (allow-other-keys? kw-indices)
|
||||||
(when label (emit-label asm label))
|
(when label (emit-label asm label))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue