HCoop
/
clinton
/
parenscript.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed bug where (setf x (- x 1 2)) yielded x -= 1 - 2.
[clinton/parenscript.git]
/
t
/
ps-tests.lisp
diff --git
a/t/ps-tests.lisp
b/t/ps-tests.lisp
index
4d5a7ec
..
715461b
100644
(file)
--- a/
t/ps-tests.lisp
+++ b/
t/ps-tests.lisp
@@
-479,3
+479,11
@@
try {
(test-ps-js literal2
(aref this x)
"this[x]")
+
+(test-ps-js setf-dec1
+ (setf x (- 1 x 2))
+ "x = 1 - x - 2;")
+
+(test-ps-js setf-dec2
+ (setf x (- x 1 2))
+ "x = x - 1 - 2;")