MAKE-SEQUENCE signals correct error for incompletely user-defined sequences
commitcdbc1eb4a5b3de98b485681927819770c7eb749c
authorMark Cox <markcox80@gmail.com>
Sun, 4 May 2014 10:52:15 +0000 (4 20:52 +1000)
committerJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Sun, 4 May 2014 13:46:44 +0000 (4 15:46 +0200)
tree89a404400ddac7bffd0fa550cad814eac029ac5b
parent019f744ef8a9da88c1f0632426030b679b9992bb
MAKE-SEQUENCE signals correct error for incompletely user-defined sequences

For the following situation:
- result type is a type specifier designating a DEFTYPEd type
- the type expands to a the name of a user-defined sequence class
- not all mandatory sequence protocol methods are define for the
  user-define sequence class
MAKE-SEQUENCE used to signal a SIMPLE-TYPE-ERROR referring to the
unexpanded type specifier, instead of signaling a
SEQUENCE:PROTOCOL-UNIMPLEMENTED error.

Fixes lp#1315846.
NEWS
src/code/seq.lisp
tests/extended-sequences.impure.lisp [new file with mode: 0644]