summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--tests/011/special-1.txr3
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 87855a90..25e11ec1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2014-03-01 Kaz Kylheku <kaz@kylheku.com>
+ * tests/011/special-1.txr: Add some coverage for evaluation
+ of a re-bound special under the Lisp-1 evaluation of the [ ]
+ notation. This test case would have failed three commits
+ back.
+
+2014-03-01 Kaz Kylheku <kaz@kylheku.com>
+
* eval.c (expand_qquote): Another bugfix: not recognizing a trailing
atom that comes out of recursive call, wrapped in (quote ...),
resulting in '(,a . b) expanding to (append 'a . quote b)
diff --git a/tests/011/special-1.txr b/tests/011/special-1.txr
index 23c15b48..72ab844a 100644
--- a/tests/011/special-1.txr
+++ b/tests/011/special-1.txr
@@ -4,6 +4,7 @@
(progn ,*forms (get-string-from-stream ,var))))
(let ((x (with-output-to-string (*stdout*)
- (format t "world!"))))
+ [format *stdout* "wo"]
+ (format t "rld!"))))
(format *stdout* "Hello, ")
(put-line x)))