mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-15 05:43:19 -08:00
THE forms did not work with VALUES types when compiled
This commit is contained in:
parent
572775c8c5
commit
0403394c85
1 changed files with 4 additions and 0 deletions
|
|
@ -93,6 +93,10 @@
|
|||
form form-type and-type)
|
||||
(cond ((or (trivial-type-p args) (not (policy-type-assertions)))
|
||||
value)
|
||||
((and (consp type)
|
||||
(eq (first type) 'values))
|
||||
(c1checked-value (list (values-type-primary-type type)
|
||||
value)))
|
||||
((and (policy-evaluate-forms) (constantp value))
|
||||
(unless (typep (cmp-eval value) type)
|
||||
(cmpwarn "Failed type assertion for value ~A and type ~A"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue