Make COERCE on characters more standard-conforming.
authorLutz Euler <lutz.euler@freenet.de>
Fri, 9 Dec 2011 20:25:08 +0000 (21:25 +0100)
committerLutz Euler <lutz.euler@freenet.de>
Fri, 9 Dec 2011 20:25:08 +0000 (21:25 +0100)
commit97698cd441721fbd216f0294606d144de8865b4c
tree824b3e064811644d836766cd405cceaa584dcbd6
parentffd84e0a72d4d589e5493917bef586572699966a
Make COERCE on characters more standard-conforming.

Characters could be coerced to subtypes of CHARACTER to which they
don't belong. Also, character designators that are not characters
could be coerced to proper subtypes of CHARACTER. Make all of these
instead signal an error as required by CLHS COERCE.

Add test cases, both for unicode-enabled and non-unicode-enabled SBCL.

Fixes lp#841312.
NEWS
src/code/coerce.lisp
tests/character.pure.lisp