Fix type mismatch in the &rest-ref transform.
commitc74d97b2fa360e0854576e05bc9aa4987940b5c8
authorStas Boukarev <stassats@gmail.com>
Fri, 5 Jan 2018 19:25:23 +0000 (5 22:25 +0300)
committerStas Boukarev <stassats@gmail.com>
Fri, 5 Jan 2018 19:25:23 +0000 (5 22:25 +0300)
tree1ef09c297403fb114deb82025b5ca9d3c17f5372
parent1e2a6f25195eb7a552ce0da370592a20d8fc8554
Fix type mismatch in the &rest-ref transform.

Just don't bother transforming (&rest-ref 0) to CAR, NTH will do.

Fixes lp#1741539.
src/compiler/srctran.lisp
tests/bad-code.pure.lisp