Fix the COERCE transform for complexes.
commitd69b224577bef30c8676a45c5b7e176486342783
authorStas Boukarev <stassats@gmail.com>
Sun, 27 Apr 2014 11:55:33 +0000 (27 15:55 +0400)
committerStas Boukarev <stassats@gmail.com>
Sun, 27 Apr 2014 11:55:33 +0000 (27 15:55 +0400)
tree5f8c9be8545d9e189e6817ecf020aa280b5f3ec3
parent2ea1111db2af14bdc4ccebf4d5e2cf81f4e22183
Fix the COERCE transform for complexes.

It got some corner cases wrong. Based on the patch by Jan Moringen.
src/code/coerce.lisp
src/compiler/typetran.lisp
tests/coerce.pure.lisp [new file with mode: 0644]