Fix VALUES declaration processing.

A change to C::SPLIT-VALUES-TYPE got the order reversed.

Fixes #275.
This commit is contained in:
Stas Boukarev 2014-02-23 02:26:53 +04:00 committed by Philipp Marek
parent e2e53dc679
commit 3f0ce7f7d4

View file

@ -190,7 +190,8 @@
(push typespec optional)
(push typespec required)))))
finally
(return (values required (nreverse optional) rest a-o-k)))))
(return (values (nreverse required) (nreverse optional)
rest a-o-k)))))
(defun-equal-cached values-type-or (t1 t2)
(when (or (eq t2 'T) (equalp t2 '(VALUES &REST T)))