Fix CAS SYMBOL-VALUE for locally special variables.
commitfa52f5ce506a4df5fa6b493dd33e1feab874f4a9
authorStas Boukarev <stassats@gmail.com>
Mon, 30 Jun 2014 16:52:40 +0000 (30 20:52 +0400)
committerStas Boukarev <stassats@gmail.com>
Mon, 30 Jun 2014 16:52:40 +0000 (30 20:52 +0400)
tree2af5f560789b1a6bc66fccfeb59d45cdaed3895e
parent1825189a64330369f10be389ee62469860ed72d8
Fix CAS SYMBOL-VALUE for locally special variables.

The case-form of the expansion was wrong, and the read-form used
SYMBOL-GLOBAL-VALUE.

Fixes lp#1098355.
NEWS
src/code/late-cas.lisp
src/code/symbol.lisp
src/compiler/fndb.lisp
tests/compare-and-swap.impure.lisp