Fix NCONC type derivation.
authorStas Boukarev <stassats@gmail.com>
Mon, 3 Jun 2013 11:28:02 +0000 (15:28 +0400)
committerStas Boukarev <stassats@gmail.com>
Mon, 3 Jun 2013 11:28:02 +0000 (15:28 +0400)
commit123a8dd97ab99b5e205b6768f6389d7cc7c12656
tree9cd1321b839d5d0c448a1590ea429a892ac0c9e8
parentf77e81ba7736fc7df9ca7d37b93f662f36dae39f
Fix NCONC type derivation.

Properly check the types of arguments, instead of testing for subtypes
or supertypes of LIST, check for arguments to be subtypes of NULL or CONS.

Reported by Jerry James.
NEWS
src/compiler/srctran.lisp
tests/compiler.pure.lisp