Skip to content
Snippets Groups Projects
Commit c84446a2 authored by rtoy's avatar rtoy
Browse files

A sequence type of NULL isn't too hairy for the sequence functions.

parent 8397b698
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/seq.lisp,v 1.51 2004/12/21 17:59:58 rtoy Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/seq.lisp,v 1.52 2005/02/25 18:21:21 rtoy Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -77,7 +77,9 @@
:format-control
"NIL output type invalid for this sequence function."
:format-arguments ())))
((or (union-type-p type) (member-type-p type))
((or (union-type-p type)
(and (member-type-p type)
(not (eq type kernel:*null-type*))))
(error 'simple-type-error
:datum type
:exptected-type 'sequence
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment