mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-12 20:31:55 -08:00
In WALK-METHOD-LAMBDA use eval-with-env to get access to the macros that are defined in the compiler environment
This commit is contained in:
parent
905475f954
commit
4fb36efd04
1 changed files with 5 additions and 1 deletions
|
|
@ -164,7 +164,11 @@
|
|||
in-closure-p t))))))
|
||||
form))
|
||||
(let ((si::*code-walker* #'code-walker))
|
||||
(coerce method-lambda 'function)))
|
||||
;; Instead of (coerce method-lambda 'function) we use
|
||||
;; explicitely the bytecodes compiler with an environment, no
|
||||
;; stepping, compiler-env-p = t and execute = nil, so that the
|
||||
;; form does not get executed.
|
||||
(si::eval-with-env method-lambda env nil t nil)))
|
||||
(values call-next-method-p
|
||||
next-method-p-p
|
||||
in-closure-p)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue