Commit 362c0dec authored by pfdietz's avatar pfdietz

The &environment parameter of a macro lambda list is bound before the other...

The &environment parameter of a macro lambda list is bound before the other variables, regardless of its position in the lambda list.
parent d6fb0733
......@@ -347,6 +347,15 @@
(%f)))
:good)
;;; The &environment parameter is bound first
(deftest macrolet.38
(macrolet ((foo () 1))
(macrolet ((%f (&optional (x (macroexpand '(foo) env)) &environment env)
x))
(%f)))
1)
;;; Symbol-macrolet tests
(deftest symbol-macrolet.1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment