DATUM in TYPECASE error should be the value, not the offending key.

This commit is contained in:
jjgarcia 2004-12-03 17:34:50 +00:00
parent 755369b199
commit 2f48f60f1f

View file

@ -178,7 +178,7 @@ be used as a TYPE to specify the default case."
(defun etypecase-error (keyform value types)
(error 'CASE-FAILURE :name 'ETYPECASE
:datum keyform
:datum value
:expected-type (cons 'OR types)
:possibilities types))