mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-04-24 10:30:51 -07:00
VALUES-NUMBER-FROM-TYPE did not compute the right number for types with &optional.
This commit is contained in:
parent
5d2dcedfe6
commit
03f8e19495
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@
|
|||
(values 0 MULTIPLE-VALUES-LIMIT))
|
||||
((or (atom type) (not (eq (first type) 'VALUES)))
|
||||
(values 1 1))
|
||||
((or (member '&rest type) (member 'optional type))
|
||||
((or (member '&rest type) (member '&optional type))
|
||||
(values 0 MULTIPLE-VALUES-LIMIT))
|
||||
(t
|
||||
(let ((l (1- (length type))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue