mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-12 07:50:26 -07:00
The compiler now uses THE forms with a VALUES type.
This commit is contained in:
parent
ff7d1fa480
commit
135d52c78e
1 changed files with 3 additions and 6 deletions
|
|
@ -27,12 +27,9 @@
|
|||
(let* ((form (c1expr (second args)))
|
||||
(the-type (type-filter (first args) t))
|
||||
type)
|
||||
(cond ((and (consp the-type) (eq (first the-type) 'VALUES))
|
||||
(cmpwarn "Ignoring THE form with type ~A" the-type))
|
||||
((not (setf type (type-and the-type (c1form-primary-type form))))
|
||||
(cmpwarn "Type mismatch was found in ~s." (cons 'THE args)))
|
||||
(t
|
||||
(setf (c1form-type form) type)))
|
||||
(if (setf type (type-and the-type (c1form-primary-type form)))
|
||||
(setf (c1form-type form) type)
|
||||
(cmpwarn "Type mismatch was found in ~s." (cons 'THE args)))
|
||||
form))
|
||||
|
||||
(defun c1compiler-let (args &aux (symbols nil) (values nil))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue