You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
walker:macroexpand-all doesn't expand macros in three cases: if it is a global symbol-macro, a local symbol-macro in the environment passed as a second argument, or a local macro in the form to be expanded.
"Mega" test
Here is a test for 6 possible cases where macro expansion should happen:
Description
walker:macroexpand-all
doesn't expand macros in three cases: if it is a global symbol-macro, a local symbol-macro in the environment passed as a second argument, or a local macro in the form to be expanded."Mega" test
Here is a test for 6 possible cases where macro expansion should happen:
Result:
Expected:
Smaller tests for each case:
In each case the symbol
macroexpand-all-test-x
should've been macroexpanded.Version
Tested on MKCL 1.1.11.206 (current head):
Additional information
This also affects ECL, see https://gitlab.com/embeddable-common-lisp/ecl/-/issues/722.
Also see this table (second table) testing
macroexpand-all
across different implementations: https://plaster.tymoon.eu/view/4637.The text was updated successfully, but these errors were encountered: