mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-30 15:00:21 +02:00
fix (apply f) -- without the args list
* module/language/tree-il/primitives.scm (apply): Only inline if we actually have an argument to apply.
This commit is contained in:
parent
1e2a8edb8b
commit
0e249fd359
1 changed files with 2 additions and 2 deletions
|
@ -276,8 +276,8 @@
|
||||||
(define-primitive-expander acons (x y z)
|
(define-primitive-expander acons (x y z)
|
||||||
(cons (cons x y) z))
|
(cons (cons x y) z))
|
||||||
|
|
||||||
(define-primitive-expander apply (f . args)
|
(define-primitive-expander apply (f a0 . args)
|
||||||
(@apply f . args))
|
(@apply f a0 . args))
|
||||||
|
|
||||||
(define-primitive-expander call-with-values (producer consumer)
|
(define-primitive-expander call-with-values (producer consumer)
|
||||||
(@call-with-values producer consumer))
|
(@call-with-values producer consumer))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue